public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/59626] New: [4.9 lto] /usr/include/bits/unistd.h:173:1: error: inlining failed in call to always_inline 'readlinkat': recursive inlining
@ 2013-12-30  9:13 nheghathivhistha at gmail dot com
  2013-12-30 17:15 ` [Bug lto/59626] " trippels at gcc dot gnu.org
                   ` (27 more replies)
  0 siblings, 28 replies; 29+ messages in thread
From: nheghathivhistha at gmail dot com @ 2013-12-30  9:13 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59626

            Bug ID: 59626
           Summary: [4.9 lto] /usr/include/bits/unistd.h:173:1: error:
                    inlining failed in call to always_inline 'readlinkat':
                    recursive inlining
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
          Assignee: unassigned at gcc dot gnu.org
          Reporter: nheghathivhistha at gmail dot com

Coreutils-8.22 program 'cp' cannot be compiled with trunk gcc 4.9.0 with -O2
-ggdb -pipe -flto:

CCLD     src/cp
/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);
   ^
make[3]: ***
[/var/tmp/portage/sys-apps/coreutils-8.22/temp/ccoTpm79.ltrans9.ltrans.o] Error
1
make[3]: *** Waiting for unfinished jobs....
lto-wrapper: make returned 2 exit status
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131228/../../../../x86_64-pc-linux-gnu/bin/ld:
fatal error: lto-wrapper failed
collect2: error: ld returned 1 exit status
Makefile:5419: recipe for target 'src/cp' failed

Gcc-4.8.2 fails with -flto too:

CCLD     src/cp
/usr/include/bits/unistd.h: In function 'careadlinkat.constprop.21':
/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);
   ^
make[3]: ***
[/var/tmp/portage/sys-apps/coreutils-8.22/temp/cctZ031y.ltrans8.ltrans.o] Error
1
make[3]: *** Waiting for unfinished jobs....
lto-wrapper: make returned 2 exit status
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/../../../../x86_64-pc-linux-gnu/bin/ld:
fatal error: lto-wrapper failed
collect2: error: ld returned 1 exit status
Makefile:5419: recipe for target 'src/cp' failed

Both versions are fine without -flto.


^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2015-06-11 13:41 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-30  9:13 [Bug lto/59626] New: [4.9 lto] /usr/include/bits/unistd.h:173:1: error: inlining failed in call to always_inline 'readlinkat': recursive inlining nheghathivhistha at gmail dot com
2013-12-30 17:15 ` [Bug lto/59626] " trippels at gcc dot gnu.org
2014-01-07 11:53 ` rguenth at gcc dot gnu.org
2014-01-10 20:22 ` aldyh at gcc dot gnu.org
2014-01-10 20:54 ` jakub at gcc dot gnu.org
2014-01-13  8:24 ` trippels at gcc dot gnu.org
2014-01-31 11:23 ` [Bug lto/59626] [4.8/4.9 Regression] " rguenth at gcc dot gnu.org
2014-02-16  8:25 ` trippels at gcc dot gnu.org
2014-02-25  9:21 ` rguenth at gcc dot gnu.org
2014-02-25 10:08 ` rguenth at gcc dot gnu.org
2014-02-25 10:08 ` rguenth at gcc dot gnu.org
2014-02-25 10:45 ` nheghathivhistha at gmail dot com
2014-02-25 11:04 ` rguenth at gcc dot gnu.org
2014-02-25 11:50 ` trippels at gcc dot gnu.org
2014-02-25 12:44 ` rguenth at gcc dot gnu.org
2014-02-25 13:22 ` rguenth at gcc dot gnu.org
2014-03-09 17:46 ` nheghathivhistha at gmail dot com
2014-03-21  9:35 ` rguenth at gcc dot gnu.org
2014-03-21 13:24 ` rguenth at gcc dot gnu.org
2014-03-21 13:58 ` rguenth at gcc dot gnu.org
2014-03-24 10:07 ` rguenth at gcc dot gnu.org
2014-04-04 18:03 ` hubicka at gcc dot gnu.org
2014-04-14  8:14 ` [Bug lto/59626] [4.8 " rguenth at gcc dot gnu.org
2014-05-22  9:07 ` rguenth at gcc dot gnu.org
2014-12-19 13:34 ` jakub at gcc dot gnu.org
2015-05-18 10:11 ` asolokha at gmx dot com
2015-06-11  7:45 ` rguenth at gcc dot gnu.org
2015-06-11 13:40 ` rguenth at gcc dot gnu.org
2015-06-11 13:41 ` rguenth at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).