Skip to content

Instantly share code, notes, and snippets.

@danielhams
Created June 19, 2019 17:42
Show Gist options
  • Save danielhams/049e35e9b4f3a7850e06345a39de4702 to your computer and use it in GitHub Desktop.
Save danielhams/049e35e9b4f3a7850e06345a39de4702 to your computer and use it in GitHub Desktop.
Using GOLD to link a simple file
[dan@leafy irix-binutils-investigation.git]$ ./buildassembly.sh
/builds/dan/bootstrapbuilds/gbstest-binutils232/build-bu/gold/ld-new: error: printf: unsupported symbol section 0xff01
/builds/dan/bootstrapbuilds/gbstest-binutils232/build-bu/gold/ld-new: error: __readenv_sigfpe: unsupported symbol section 0xff01
/builds/dan/bootstrapbuilds/gbstest-binutils232/build-bu/gold/ld-new: error: _environ: unsupported symbol section 0xff02
/builds/dan/bootstrapbuilds/gbstest-binutils232/build-bu/gold/ld-new: error: __xpg4: unsupported symbol section 0xff02
/builds/dan/bootstrapbuilds/gbstest-binutils232/build-bu/gold/ld-new: error: exit: unsupported symbol section 0xff01
/builds/dan/bootstrapbuilds/gbstest-binutils232/build-bu/gold/ld-new: error: printf: unsupported symbol section 0xff01
/builds/dan/bootstrapbuilds/gbstest-binutils232/build-bu/gold/ld-new: error: __readenv_sigfpe: unsupported symbol section 0xff01
/builds/dan/bootstrapbuilds/gbstest-binutils232/build-bu/gold/ld-new: error: _environ: unsupported symbol section 0xff02
/builds/dan/bootstrapbuilds/gbstest-binutils232/build-bu/gold/ld-new: error: __xpg4: unsupported symbol section 0xff02
/builds/dan/bootstrapbuilds/gbstest-binutils232/build-bu/gold/ld-new: error: exit: unsupported symbol section 0xff01
/usr/lib32/mips4/crt1.o(.MIPS.events.init+0x1): error: unsupported reloc 32
/usr/lib32/mips4/crt1.o(.MIPS.events.text+0x1): error: unsupported reloc 32
./buildassembly.sh: line 53: 1364 Bus error (core dumped) $GOLD232_PATH -melf32bmipn32 -init __gcc_init -fini __gcc_fini -o exe.gcc4.gold232 /usr/lib32/mips4/crt1.o $GCC8_TOOLS_PATH/../lib/gcc/mips-sgi-irix6.5/8.2.0/irix-crti.o $GCC8_TOOLS_PATH/../lib/gcc/mips-sgi-irix6.5/8.2.0/crtbegin.o -L$GCC8_TOOLS_PATH/../lib/gcc/mips-sgi-irix6.5/8.2.0 gcc4.o -lgcc -lgcc_eh -lm -lc -lgcc -lgcc_eh -lm $GCC8_TOOLS_PATH/../lib/gcc/mips-sgi-irix6.5/8.2.0/crtend.o $GCC8_TOOLS_P
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment