This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libgcc/61843] New: Segmentation Fault on with avr-ld when linking with AVR C++ Linker


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

            Bug ID: 61843
           Summary: Segmentation Fault on with avr-ld when linking with
                    AVR C++ Linker
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgcc
          Assignee: unassigned at gcc dot gnu.org
          Reporter: petermilani at qfr dot net.au

Linking a AVR C++ program throws the following:

make all 
Building target: RoverMowerProject.elf
Invoking: AVR C++ Linker
avr-g++ --cref -s -Os -o"RoverMowerProject.elf"  ./src/kalman_h/kalman.o 
./src/i2c/i2c.o  ./src/hmmv4_configmsg_h/hmmv4_configmsg.o  ./src/fPID_h/fPID.o
 ./src/Wire/utility/twi.o  ./src/Wire/Wire.o  ./src/SPI/SPI.o 
./src/RCswitch/RCSwitch.o  ./src/Qbot_configmsg_h/Qbot_configmsg.o 
./src/PID_h/PID.o  ./src/Velocity_Controller.o   -larduino_core -lm -lm
-Wl,-Map,RoverMowerProject.map,--cref -mrelax -Wl,--gc-sections
-Wl,--gc-sections -L"/home/petermilani/workspace/arduino_core/328P_16MHz"
-mmcu=atmega328p
collect2: ld terminated with signal 11 [Segmentation fault], core dumped
make: *** [RoverMowerProject.elf] Error 1

let us know if you need more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]