Summary: | Building perf fails with ld: fatal error: No space left on device | ||
---|---|---|---|
Product: | binutils | Reporter: | Markus Trippelsdorf <markus> |
Component: | gold | Assignee: | H.J. Lu <hjl.tools> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ian |
Priority: | P2 | ||
Version: | 2.26 | ||
Target Milestone: | 2.26 | ||
Host: | Target: | ||
Build: | Last reconfirmed: | ||
Attachments: | test binary |
Description
Markus Trippelsdorf
2015-07-16 21:06:36 UTC
Created attachment 8445 [details]
test binary
A patch is posted at https://sourceware.org/ml/binutils/2015-07/msg00143.html (In reply to H.J. Lu from comment #2) > A patch is posted at > > https://sourceware.org/ml/binutils/2015-07/msg00143.html Please use this instead: https://sourceware.org/ml/binutils/2015-07/msg00144.html Thanks for the quick fix. [hjl@gnu-6 pr18689]$ cat foo.c /* Dummy file. */ [hjl@gnu-6 pr18689]$ make gcc -ggdb3 -Wa,--compress-debug-sections=zlib-gabi -c -o foo.o foo.c ./ld.gold -r -o x.o foo.o ./ld -r -o y.o x.o ./ld: x.o: unable to initialize decompress status for section .debug_macro ./ld: x.o: unable to initialize decompress status for section .debug_macro ./ld: x.o: unable to initialize decompress status for section .debug_macro ./ld: x.o: unable to initialize decompress status for section .debug_macro x.o: file not recognized: File format not recognized Makefile:30: recipe for target 'y.o' failed make: *** [y.o] Error 1 [hjl@gnu-6 pr18689]$ The master branch has been updated by H.J. Lu <hjl@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=f54f5e31ce1270a1e9441348d6f2ea2426352478 commit f54f5e31ce1270a1e9441348d6f2ea2426352478 Author: H.J. Lu <hjl.tools@gmail.com> Date: Mon Jul 20 10:14:26 2015 -0700 Clear SHF_COMPRESSED flag bit from input to output For relocatable link, we should clear the SHF_COMPRESSED flag bit from input group section. PR gold/18689 * layout.cc (Layout::layout): Clear the SHF_COMPRESSED flag bit from input group section for relocatable link. * testsuite/Makefile.am (check_SCRIPTS): Add pr18689.sh. (check_DATA): Add pr18689.stdout. (MOSTLYCLEANFILES): Add pr18689a.o pr18689b.o. (pr18689.stdout): New rule. (pr18689a.o): Likewise. (pr18689b.o): Likewise. (pr18689.o): Likewise. * testsuite/pr18689.c: New file. * testsuite/pr18689.sh: Likewise. * testsuite/Makefile.in: Regenerated. Fixed. |