You are not logged in.

#76 2015-04-30 13:52:07

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,922

Re: GCC 5 is coming with a massive rebuild

chaonaut, then they may have been created by a .install file .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#77 2015-04-30 15:18:07

chaonaut
Member
From: Kyiv, Ukraine
Registered: 2014-02-05
Posts: 382

Re: GCC 5 is coming with a massive rebuild

anyway, they're in place now, and gcc5 can build with LTO yet more packages (in my system) than gcc-4.9.


— love is the law, love under wheel, — said aleister crowley and typed in his terminal:
usermod -a -G wheel love

Offline

#78 2015-06-16 09:52:20

AnAkkk
Member
Registered: 2014-03-03
Posts: 148

Re: GCC 5 is coming with a massive rebuild

Allan wrote:

--with-default-libstdcxx-abi=c++98  will be dropped in a couple of weeks (assuming no big issues with the compiler are found) and then we will do a rebuild.

Is the change to the new ABI still planned?

Offline

#79 2015-06-16 11:18:21

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,922

Re: GCC 5 is coming with a massive rebuild


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#80 2015-06-16 11:33:21

AnAkkk
Member
Registered: 2014-03-03
Posts: 148

Re: GCC 5 is coming with a massive rebuild

Thanks for the link !

Offline

#81 2015-06-16 12:28:09

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,864
Website

Re: GCC 5 is coming with a massive rebuild


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#82 2015-07-09 15:24:58

AnAkkk
Member
Registered: 2014-03-03
Posts: 148

Re: GCC 5 is coming with a massive rebuild

Fedora and Ubuntu seem to go with the new ABI too though, are they not affected by this issue?

Offline

#83 2015-07-09 23:20:30

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,392
Website

Re: GCC 5 is coming with a massive rebuild

AnAkkk wrote:

Fedora and Ubuntu seem to go with the new ABI too though, are they not affected by this issue?

Yes they are.   Note neither of them are actually using hte new ABI yet.

Offline

#84 2015-12-10 11:04:12

hoschi
Member
From: Ulm (Germany)
Registered: 2008-11-03
Posts: 458

Re: GCC 5 is coming with a massive rebuild

We are now switching the ABI. So we won't wast any more time on waiting for LLVM?
https://llvm.org/bugs/show_bug.cgi?id=23529

Offline

#85 2015-12-10 11:18:13

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,392
Website

Re: GCC 5 is coming with a massive rebuild

It is patched in our repos - same as Fedora.

Offline

#86 2015-12-10 12:20:35

hoschi
Member
From: Ulm (Germany)
Registered: 2008-11-03
Posts: 458

Re: GCC 5 is coming with a massive rebuild

Thanks! I'm glad to see it smile

Our little poor patch policy *patpatpat*
The patch is hosted on (review).llvm.org wink

Last edited by hoschi (2015-12-10 12:21:19)

Offline

#87 2015-12-11 04:24:46

headkase
Member
Registered: 2011-12-06
Posts: 1,977

Re: GCC 5 is coming with a massive rebuild

Well, it only took ten months to happen.  As the original poster I honestly thought it would've happened sooner.

Offline

#88 2015-12-11 04:49:34

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,392
Website

Re: GCC 5 is coming with a massive rebuild

headkase wrote:

Well, it only took ten months to happen.  As the original poster I honestly thought it would've happened sooner.

LLVM/clang++ still is not patched to work with the new ABI upstream.   We have pulled a patch from their review tracker (which is also used by Fedora 23), but I see reports it still is not actually fully fixed...

Offline

#89 2015-12-11 09:19:26

snack
Member
From: Italy
Registered: 2009-01-13
Posts: 861

Re: GCC 5 is coming with a massive rebuild

This morning I updated my system with the rebuilt packages. I was about to rebuild all my stuff (not Arch packages but just my local C++ projects) when I decided to give them a try before rebuilding everything. To my surprise, all the executables and libraries built with gcc 5.2 are still working. I tested just a few of them but none have crashed or misbehaved up to now. So I'm confused since as far as I understood binaries compiled against the old ABI should crash when using the new libstdc++. Since Arch rebuilt everything I thought it was necessary also for me to rebuild all my software otherwise it would crash, but it seems it's not the case (at least not always) so I'm undecided about rebuilding all my stuff or not. Can anyone please shed some light on this situation? Thanks.

Offline

#90 2015-12-11 09:29:04

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,738

Re: GCC 5 is coming with a massive rebuild

If your projects don't link to any other (rebuilt) libraries they should continue to work, since libstdc++ itself contains both ABIs. Only if you use other libraries and they are linked against the new ABI you might run into symbol lookup errors

Last edited by V1del (2015-12-11 09:29:43)

Online

#91 2015-12-11 09:34:41

snack
Member
From: Italy
Registered: 2009-01-13
Posts: 861

Re: GCC 5 is coming with a massive rebuild

@V1del: some executables of mine link libQtGui and other Qt libraries and they don't crash. But I'd guess they should given your words; am I correct?

Offline

#92 2015-12-11 13:43:41

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,392
Website

Re: GCC 5 is coming with a massive rebuild

It depends which parts of C++ use use - many are the same across the two ABIs.

Offline

#93 2015-12-11 13:47:14

snack
Member
From: Italy
Registered: 2009-01-13
Posts: 861

Re: GCC 5 is coming with a massive rebuild

@Allan: thanks for the clarification. I started a full rebuild anyway since I got compiler errors related to the new ABI when compiling my code this morning after some modifications.

Offline

Board footer

Powered by FluxBB