Bootstrapping fails with lto

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hallo,
 
building gcc-4.9.0-RC-20140411 without any options worked well on my Ubuntu-12.04 System, whereas
building with
make -j 4 BOOT_CFLAGS='-flto' bootstrap
gave linking errors like:
 
/tmp/ccezqqPM.ltrans0.ltrans.o: In function `upstrdup(char const*)':
 ccezqqPM.ltrans0.o:(.text+0xe0): undefined reference to `xstrdup'
 ccezqqPM.ltrans0.o:(.text+0x104): undefined reference to `_sch_toupper'
 /tmp/ccezqqPM.ltrans0.ltrans.o: In function `s_hook_hash(void const*)':
 ccezqqPM.ltrans0.o:(.text+0x145): undefined reference to `htab_hash_string'
 /tmp/ccezqqPM.ltrans0.ltrans.o: In function `emit_documentation(char const*)':
 ccezqqPM.ltrans0.o:(.text+0x1a5): undefined reference to `htab_create'
 ccezqqPM.ltrans0.o:(.text+0x1bd): undefined reference to `fopen_unlocked'
 ccezqqPM.ltrans0.o:(.text+0x22f): undefined reference to `xmalloc'
 ccezqqPM.ltrans0.o:(.text+0x26c): undefined reference to `htab_find_slot'
 ccezqqPM.ltrans0.o:(.text+0x398): undefined reference to `htab_find'
 ccezqqPM.ltrans0.o:(.text+0x42a): undefined reference to `fopen_unlocked'
 ccezqqPM.ltrans0.o:(.text+0x524): undefined reference to `htab_find'
 ccezqqPM.ltrans0.o:(.text+0xae3): undefined reference to `htab_find'
 collect2: Fehler: ld gab 1 als Ende-Status zurück
 make[3]: *** [build/genhooks] Fehler 1
 
etc...
 
and building with
make -j 4 BUILD_CONFIG='bootstrap-lto'
results in a stage 2/3 comparision error.
 
Is there a way to fix this problems?
 
Thank you
 
Henning
 





[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux