Forum Discussion
Altera_Forum
Honored Contributor
16 years agoOK, I accidentally covered this up before, but I think this is my real problem in addition to the .eh_frame_hdr table warnings. I can't reproduce this with helloworld, but when I build my executable that uses two C++ shared libraries, I get:
/data/nios/nios2-linux/toolchain-mmu/x86-linux2/bin/../lib/gcc/nios2-linux-gnu/4.1.2/../../../../nios2-linux-gnu/bin/ld: testserver: hidden symbol `__divsi3_table' in /data/nios/nios2-linux/toolchain-mmu/x86-linux2/bin/../lib/gcc/nios2-linux-gnu/4.1.2/libgcc.a(lib2-divtable.o) is referenced by DSO
/data/nios/nios2-linux/toolchain-mmu/x86-linux2/bin/../lib/gcc/nios2-linux-gnu/4.1.2/../../../../nios2-linux-gnu/bin/ld: final link failed: Nonrepresentable section on output UPDATE: The .eh_frame_hdr warnings seem to be hiding actual link errors. Adding -lgcc -lc to my libraries got me past that error.