https://sourceware.org/bugzilla/show_bug.cgi?id=18689

            Bug ID: 18689
           Summary: Building perf fails with ld: fatal error: No space
                    left on device
           Product: binutils
           Version: 2.26 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gold
          Assignee: ccoutant at gmail dot com
          Reporter: markus at trippelsdorf dot de
                CC: ian at airs dot com
  Target Milestone: ---

Trying to build perf (ships with the linux kernel) fails:

For example:

markus@x4 perf %  gcc
-Wp,-MD,arch/x86/util/.dwarf-regs.o.d,-MT,arch/x86/util/dwarf-regs.o 
-Wbad-function-cast -Wdeclaration-after-statement -Wformat-security
-Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes
-Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked
-Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes
-Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat
-DHAVE_ARCH_X86_64_SUPPORT -DHAVE_PERF_REGS_SUPPORT -Werror -O6
-fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99
-fstack-protector-all -D_FORTIFY_SOURCE=2
-I/usr/src/linux/tools/perf/util/include
-I/usr/src/linux/tools/perf/arch/x86/include -I/usr/src/linux/tools/include/
-I/usr/src/linux/arch/x86/include/uapi -I/usr/src/linux/arch/x86/include
-I/usr/src/linux/include/uapi -I/usr/src/linux/include
-I/usr/src/linux/tools/perf/util -I/usr/src/linux/tools/perf
-I/usr/src/linux/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT
-DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT
-DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT 
-DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT
 -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT
-DHAVE_GTK2_SUPPORT -DNO_LIBPERL -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBBFD_SUPPORT
-DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT
-DHAVE_KVM_STAT_SUPPORT -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s"   -c -o
arch/x86/util/dwarf-regs.o arch/x86/util/dwarf-regs.c

markus@x4 perf % ld -r -o foo.o arch/x86/util/dwarf-regs.o
markus@x4 perf % ld -r -o test foo.o
ld: fatal error: test: No space left on device

-- 
You are receiving this mail because:
You are on the CC list for the bug.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to