Hello, I am trying to do a rebuild of my system with gcc-4.9-20131222 snapshot and LTO enabled + ld.gold. LTO fails the same way for GCC 4.8.2 and with ld.bfd too.
-cut- CCLD src/dir /usr/include/bits/unistd.h: In function 'careadlinkat.constprop': /usr/include/bits/unistd.h:173:1: error: inlining failed in call to always_inline 'readlinkat': recursive inlining __NTH (readlinkat (int __fd, const char *__restrict __path, ^ /usr/include/bits/unistd.h:185:3: error: called from here return __readlinkat_alias (__fd, __path, __buf, __len); I am using AR=gcc-ar NM=gcc-nm RANLIB=gcc-ranlib. Configured with: ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --with-packager=Gentoo --with-packager-version=8.22 (p1.0) --with-packager-bug-reports=http://bugs.gentoo.org/ --enable-install-program=arch --enable-no-install-program=groups,hostname,kill,su,uptime --enable-largefile --enable-nls --enable-acl --enable-xattr --with-gmp Can this be Coreutils issue? Or should I go to GCC? Thank you in advance. Best regards, David.
