You are not logged in.

#51 2015-03-05 10:28:08

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

Re: GCC 5 is coming with a massive rebuild

glibc, file, binutils, gmp, mpfr, libmpc, gcc-multilib-git (rebuild against recompiled libraries), bzip2, pkg-config — OK.
this time i stuck building ncurses. the build fails here:

gcc -DHAVE_CONFIG_H -I../ncurses -I../../ncurses-5.9/ncurses  -D_GNU_SOURCE -DNDEBUG
 -I. -I../include -I../../ncurses-5.9/ncurses/../include -mtune=native -O2 -fstack-protector-strong
 -pipe -fomit-frame-pointer --param=ssp-buffer-size=4 -fdiagnostics-color=always 
 --param max-inline-insns-single=1200 -fPIC -c ../../ncurses-5.9/ncurses/base/lib_getch.c
 -o ../obj_s/lib_getch.o
_14547.c:1364:22: error: expected ‘)’ before ‘int’

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

Offline

#52 2015-03-11 13:18:37

Octoploid
Member
From: Berlin, Germany
Registered: 2009-10-13
Posts: 64

Re: GCC 5 is coming with a massive rebuild

chaonaut wrote:

glibc, file, binutils, gmp, mpfr, libmpc, gcc-multilib-git (rebuild against recompiled libraries), bzip2, pkg-config — OK.
this time i stuck building ncurses. the build fails here:

gcc -DHAVE_CONFIG_H -I../ncurses -I../../ncurses-5.9/ncurses  -D_GNU_SOURCE -DNDEBUG
 -I. -I../include -I../../ncurses-5.9/ncurses/../include -mtune=native -O2 -fstack-protector-strong
 -pipe -fomit-frame-pointer --param=ssp-buffer-size=4 -fdiagnostics-color=always 
 --param max-inline-insns-single=1200 -fPIC -c ../../ncurses-5.9/ncurses/base/lib_getch.c
 -o ../obj_s/lib_getch.o
_14547.c:1364:22: error: expected ‘)’ before ‘int’

See: http://gcc.gnu.org/gcc-5/porting_to.html (Preprocessor issues)

The fix is to add -P to the preprocessor invocation.

(See also https://lists.fedoraproject.org/piperma … 7549.html)

Offline

#53 2015-03-11 14:34:28

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

Offline

#54 2015-03-11 15:09:09

Octoploid
Member
From: Berlin, Germany
Registered: 2009-10-13
Posts: 64

Re: GCC 5 is coming with a massive rebuild

And BTW something like "internal compiler error: in address_matters_p, at symtab.c:1908" isn't a crash,
the compiler just hit an assertion.
A crash looks like "internal compiler error: Segmentation fault"

Offline

#55 2015-03-11 15:50:03

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

Re: GCC 5 is coming with a massive rebuild

thanks for pointing there, i’ll continue the experiment soon.


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

Offline

#56 2015-04-07 09:22:37

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

Re: GCC 5 is coming with a massive rebuild

Thanks for the script Allan smile
Nothing to worry about as user. I "survived" this in the past - as user - on Gentoo two times (GCC 3.2 and GCC 3.4), were you have to recompile basically everything and it worked out well. On Archlinux the complete burden is on the shoulder of the maintainers and developers of Archlinux* and GCC, with a few execptions which boil down to maybe installed packages from AUR (vim-youcompleteme-git, ...).

* Thanks for the upcoming work smile

Offline

#57 2015-04-22 16:56:48

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

Re: GCC 5 is coming with a massive rebuild

Well, GCC 5.1 is officially released: Announcement and Changes.

5.1 is the production release, 5.0 is the development release.  So, now with 5.1 out things are well underway.

Offline

#58 2015-04-22 16:57:28

smirky
Member
From: Bulgaria
Registered: 2013-02-23
Posts: 277
Website

Re: GCC 5 is coming with a massive rebuild

You mean 6.0 is the dev release.


Personal spot  ::  https://www.smirky.net/  ::  Try not to get lost!

Offline

#59 2015-04-22 16:59:55

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

Re: GCC 5 is coming with a massive rebuild

smirky wrote:

You mean 6.0 is the dev release.


No, see: Here.

5.0.0    (experimental)     during active development of GCC 5 (stage 1 to 3)
5.0.1    (prerelease)     during the stabilization period of GCC 5
6.0.0    (experimental)     during active development of GCC 6 (stage 1 to 3)
5.1.0        for the first release from the GCC 5 branch
5.1.1        during development on the branch post the 5.1.0 release
5.2.0        for the second release from the GCC 5 branch
5.2.1        during development on the branch post the 5.2.0 release
6.0.1    (prerelease)     during the stabilization period of GCC 6

5.1.0 is the first production release of the 5 series.

Offline

#60 2015-04-23 23:11:32

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: GCC 5 is coming with a massive rebuild

In [testing] now...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#61 2015-04-24 07:51:20

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,394

Re: GCC 5 is coming with a massive rebuild

Ok, let's see if i understood properly:

* New libstdc++ now introduces a new ABI, but the old ABI is not dropped -> dual ABI.
* Binaries compiled with default gcc 5.1 options will use the new ABI.
* but gcc in [testing] is compiled with --with-default-libstdcxx-abi=c++98
...that means that new compiled code will still use the old ABI.

At this stage, all the old code will still be compatible right?

If/When --with-default-libstdcxx-abi will be removed from the PKGBUILD, what will happen?
I mean, since libstdc++ has this dual ABI concept, if there is a binary compiled with gcc 4.9 that uses libstdc++, will still use the old ABI by default?

Thanks, and sorry for the noob question.

Last edited by kokoko3k (2015-04-24 07:52:07)


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#62 2015-04-24 08:37:22

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

Re: GCC 5 is coming with a massive rebuild

kokoko3k wrote:

Ok, let's see if i understood properly:

* New libstdc++ now introduces a new ABI, but the old ABI is not dropped -> dual ABI.
* Binaries compiled with default gcc 5.1 options will use the new ABI.
* but gcc in [testing] is compiled with --with-default-libstdcxx-abi=c++98
...that means that new compiled code will still use the old ABI.

At this stage, all the old code will still be compatible right?

If/When --with-default-libstdcxx-abi will be removed from the PKGBUILD, what will happen?
I mean, since libstdc++ has this dual ABI concept, if there is a binary compiled with gcc 4.9 that uses libstdc++, will still use the old ABI by default?

Thanks, and sorry for the noob question.

Apparently everything will use the old ABI unless you force it to use the new one when compiling. No massive rebuild apparently.

Offline

#63 2015-04-24 08:46:55

smirky
Member
From: Bulgaria
Registered: 2013-02-23
Posts: 277
Website

Re: GCC 5 is coming with a massive rebuild

There will be a massive rebuild. It's just a matter of time. Rushing things like this has a huge chance to end with shooting yourself in the foot.


Personal spot  ::  https://www.smirky.net/  ::  Try not to get lost!

Offline

#64 2015-04-24 08:48:29

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

Re: GCC 5 is coming with a massive rebuild

Rebuild will probably happen in two weeks...

Offline

#65 2015-04-24 09:46:50

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,394

Re: GCC 5 is coming with a massive rebuild

AnAkkk wrote:
kokoko3k wrote:

[..]
If/When --with-default-libstdcxx-abi will be removed from the PKGBUILD, what will happen?
I mean, since libstdc++ has this dual ABI concept, if there is a binary compiled with gcc 4.9 that uses libstdc++, will still use the old ABI by default?

Apparently everything will use the old ABI unless you force it to use the new one when compiling. No massive rebuild apparently.

...that is the case when gcc 5.x is compiled with  --with-default-libstdcxx-abi=c++98
If i understood properly, new compiled code will use the NEW ABI by default if the switch  --with-default-libstdcxx-abi=c++98 is absent.

I was asking about OLD compiled code and his relation with the DUAL ABI concept when no --with-default-libstdcxx-abi=c++98 switch is given.

-EDIT-
will arch drop --with-default-libstdcxx-abi=c++98 in the future or will mantain it and select the default ABI in each package?

Last edited by kokoko3k (2015-04-24 09:49:22)


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#66 2015-04-24 11:04:56

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

Re: GCC 5 is coming with a massive rebuild

--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.

Offline

#67 2015-04-24 20:02:18

anatolik
Developer
Registered: 2012-09-27
Posts: 458

Re: GCC 5 is coming with a massive rebuild

Just pushed arm-none-eabi-gcc 5.1.0 to [community-testing]. If you use it for embedded development please test this version. Feedback is welcome.


Read it before posting http://www.catb.org/esr/faqs/smart-questions.html
Ruby gems repository done right https://bbs.archlinux.org/viewtopic.php?id=182729
Fast initramfs generator with security in mind https://wiki.archlinux.org/index.php/Booster

Offline

#68 2015-04-24 23:44:45

pauldcox
Member
Registered: 2011-08-19
Posts: 8

Re: GCC 5 is coming with a massive rebuild

Excuse my ignorance in all this, but after the rebuild is complete, things moved out of testing, yadda yadda, will the old ABI still be available somehow for prebuilt binaries such as Steam and plex etc.?

Last edited by pauldcox (2015-04-24 23:48:34)

Offline

#69 2015-04-25 02:59:12

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

Re: GCC 5 is coming with a massive rebuild

Yes - libstdc++ is one binary, two ABIs.

Offline

#70 2015-04-25 22:53:08

Jristz
Member
From: America/Santiago
Registered: 2011-06-11
Posts: 1,022

Re: GCC 5 is coming with a massive rebuild

gcc5 hit testing yay, but was compiled with the old gnu89, buh.
but now my list is bigger

aacskeys
apng-utils
apngopt
codecs
command-not-found
copy-agent
doukutsu
dropbox
gog-beneath-a-steel-sky
gog-dragonsphere
grub-customizer
htmlcxx
jdk
lgogdownloader
love07

grub-customizer, love07, htmlcxx, lgogdownloader, aacskeys, command-not-found, apng-utils, apngopt re the only builded from source, the rest is binary or closed.

I'm conserned for the future... the gnu11


Well, I suppose that this is somekind of signature, no?

Offline

#71 2015-04-30 10:07:03

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

Re: GCC 5 is coming with a massive rebuild

jasonwryan wrote:

In [testing] now...

cool.
btw, after gcc-5.1 installation there are no updated symlinks to lto plugin in /usr/lib/bfd-plugins (but dead symlinks to 4.9.2 lto plugin). should i report a bug about that?


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

Offline

#72 2015-04-30 10:30:25

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

Re: GCC 5 is coming with a massive rebuild

No...  You should check what package owns those symlinks.

Offline

#73 2015-04-30 11:08:04

smirky
Member
From: Bulgaria
Registered: 2013-02-23
Posts: 277
Website

Re: GCC 5 is coming with a massive rebuild

What is the criteria of gcc 5.1.0 getting out of [testing]? Some time without complaints, patches, 5.1.1 or probably all of them?


Personal spot  ::  https://www.smirky.net/  ::  Try not to get lost!

Offline

#74 2015-04-30 11:38:51

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

Re: GCC 5 is coming with a massive rebuild

There are a couple of bug that need fixed.

Offline

#75 2015-04-30 13:06:56

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

Re: GCC 5 is coming with a massive rebuild

Allan wrote:

No...  You should check what package owns those symlinks.

seems like they're made manually.
pacman reports that they don't belong to any package.
quite strange, because they must be there to make that fancy LTO feature work.


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

Offline

Board footer

Powered by FluxBB