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

           Summary: lto-wrapper returned 1 exit
           Product: gcc
           Version: 4.5.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: rootki...@yahoo.it


I tried to compile a kernel module with LTO but the compiler died when linking:

gcc -flto -nostdlib -nodefaultlibs -r -Wl,-m -Wl,elf_x86_64
-Wl,-T/usr/src/linux-2.6.38/scripts/module-common.lds -Wl,--build-id  -o
/home/matteo/Downloads/compat-wireless-2011-03-31/drivers/net/wireless/ath/ath9k/ath9k.i
/home/matteo/Downloads/compat-wireless-2011-03-31/drivers/net/wireless/ath/ath9k/ath9k.o
/home/matteo/Downloads/compat-wireless-2011-03-31/drivers/net/wireless/ath/ath9k/ath9k.mod.o
lto1: internal compiler error: Errore di segmentazione
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.5/README.Bugs> for instructions.
lto-wrapper: /usr/bin/gcc returned 1 exit status
collect2: lto-wrapper returned 1 exit status

Reply via email to