public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcc/61843] New: Segmentation Fault on with avr-ld when linking with AVR C++ Linker
@ 2014-07-18 13:05 petermilani at qfr dot net.au
  2014-07-18 13:06 ` [Bug libgcc/61843] " petermilani at qfr dot net.au
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: petermilani at qfr dot net.au @ 2014-07-18 13:05 UTC (permalink / raw)
  To: gcc-bugs

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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libgcc/61843] Segmentation Fault on with avr-ld when linking with AVR C++ Linker
  2014-07-18 13:05 [Bug libgcc/61843] New: Segmentation Fault on with avr-ld when linking with AVR C++ Linker petermilani at qfr dot net.au
@ 2014-07-18 13:06 ` petermilani at qfr dot net.au
  2014-07-19  3:51 ` petermilani at qfr dot net.au
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: petermilani at qfr dot net.au @ 2014-07-18 13:06 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from peter <petermilani at qfr dot net.au> ---
version number:

$ avr-ld -v
GNU ld (GNU Binutils) 2.20.1.20100303


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libgcc/61843] Segmentation Fault on with avr-ld when linking with AVR C++ Linker
  2014-07-18 13:05 [Bug libgcc/61843] New: Segmentation Fault on with avr-ld when linking with AVR C++ Linker petermilani at qfr dot net.au
  2014-07-18 13:06 ` [Bug libgcc/61843] " petermilani at qfr dot net.au
@ 2014-07-19  3:51 ` petermilani at qfr dot net.au
  2014-07-28 14:38 ` gjl at gcc dot gnu.org
  2014-11-29 20:57 ` gjl at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: petermilani at qfr dot net.au @ 2014-07-19  3:51 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from peter <petermilani at qfr dot net.au> ---
Possibly the same bug as:
http://www.avrfreaks.net/index.php?name=PNphpBB2&file=printview&t=136763&start=0

segmentation fault goes away if I remove the -mrelax linker flag.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libgcc/61843] Segmentation Fault on with avr-ld when linking with AVR C++ Linker
  2014-07-18 13:05 [Bug libgcc/61843] New: Segmentation Fault on with avr-ld when linking with AVR C++ Linker petermilani at qfr dot net.au
  2014-07-18 13:06 ` [Bug libgcc/61843] " petermilani at qfr dot net.au
  2014-07-19  3:51 ` petermilani at qfr dot net.au
@ 2014-07-28 14:38 ` gjl at gcc dot gnu.org
  2014-11-29 20:57 ` gjl at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: gjl at gcc dot gnu.org @ 2014-07-28 14:38 UTC (permalink / raw)
  To: gcc-bugs

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

Georg-Johann Lay <gjl at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |avr
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2014-07-28
                 CC|                            |gjl at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #3 from Georg-Johann Lay <gjl at gcc dot gnu.org> ---
(In reply to peter from comment #0)
> let us know if you need more information.

Please report Binutils problems to Binutils' bug tracker at
https://sourceware.org/bugzilla/

In case of problems with the compiler, please follow the bug reporting
instructions http://gcc.gnu.org/bugs/#report


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libgcc/61843] Segmentation Fault on with avr-ld when linking with AVR C++ Linker
  2014-07-18 13:05 [Bug libgcc/61843] New: Segmentation Fault on with avr-ld when linking with AVR C++ Linker petermilani at qfr dot net.au
                   ` (2 preceding siblings ...)
  2014-07-28 14:38 ` gjl at gcc dot gnu.org
@ 2014-11-29 20:57 ` gjl at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: gjl at gcc dot gnu.org @ 2014-11-29 20:57 UTC (permalink / raw)
  To: gcc-bugs

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

Georg-Johann Lay <gjl at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |INVALID

--- Comment #4 from Georg-Johann Lay <gjl at gcc dot gnu.org> ---
No response for over 4 months, closed as invalid.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-11-29 20:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-18 13:05 [Bug libgcc/61843] New: Segmentation Fault on with avr-ld when linking with AVR C++ Linker petermilani at qfr dot net.au
2014-07-18 13:06 ` [Bug libgcc/61843] " petermilani at qfr dot net.au
2014-07-19  3:51 ` petermilani at qfr dot net.au
2014-07-28 14:38 ` gjl at gcc dot gnu.org
2014-11-29 20:57 ` gjl at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).