This is the mail archive of the mailing list for the binutils 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]

segmentation fault with ld option -R

Any hint of what could cause this error ??? ld was used with option -R
filename where filename was a previously linked executable that contains
hopefully all of the missing references . Platform is cygwin (release
.1.3.9) on winnt . Searching through this list I find that several others
reported the segmentation error with cygwin.

without the -R it produces missing references that i was hoping would be
picked up in the file redboot.elf

error message :
collect2: ld terminated with signal 11 [Segmentation fault]
      0 [main] ld 1002 handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
  86810 [main] ld 1002 stackdump: Dumping stack trace to ld.exe.stackdump

extract from script:
mipsisa32-elf-gcc -$gccopt  -v -Wl,-nodefaultlibs -Wl,-nostdlib -Wl-nostartf
iles \
  -L$PKG_INSTALL_DIR/lib    \
  -Wl,-R/redbootdir/output/install/bin/redboot.elf \
 -Wl,--gc-sections -Wl,-Map,  -Wl,-ohello.out hello.o \
 -T /applicationdir/linker_script/r2c2_target.ld



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