https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64515

            Bug ID: 64515
           Summary: Segmentation fault during linker operation in gcc for
                    arm-none-eabi
           Product: gcc
           Version: 4.8.4
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: karolas801 at student dot polsl.pl

Created attachment 34390
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34390&action=edit
full log from compilation

I was wondering the new ChibiOS RTOS version, so I clone it
(https://github.com/ChibiOS/ChibiOS branch master), go to:
testhal/STM32/STM32F1xx/USB_CDC
and type make. After compilation I saw linker error:

Linking build/ch.elf
../../../../test/rt/test.c: In function 'TestThread':
../../../../test/rt/test.c:314:7: internal compiler error: Segmentation fault
 msg_t TestThread(void *p) {
       ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
lto-wrapper: arm-none-eabi-gcc returned 1 exit status
/home/cruz/Embedded_systems/toolchain/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/bin/ld:
lto-wrapper failed
collect2: error: ld returned 1 exit status
make: *** [build/ch.elf] Błąd 1

So I submit to you full bug report :)

My system:

lsb_release -a
No LSB modules are available.
Distributor ID:    LinuxMint
Description:    Linux Mint 16 Petra
Release:    16
Codename:    petra


kernel:
Linux cruz-laptop 3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16:20:46 UTC 2013
x86_64 x86_64 x86_64 GNU/Linux

In attachement full log from compilation.

Reply via email to