https://sourceware.org/bugzilla/show_bug.cgi?id=14746
--- Comment #8 from Cary Coutant <ccoutant at gmail dot com> --- > What I had to do to reproduce it was to add a symbol in my linker script > that pointed to the address of .eh_frame. It's the same assert but I'm not > sure that it's the same problem. > > Repo: > test.c > main(){ return 0; } > > g++ -c -o test.o test.c > > test.o need to contain an eh_frame. > > ld.gold -T script.lcf test.o > ld.gold: internal error in address, at ../../gold/output.h:73 This is a different problem. In the original case, gold was trying to allocate something in a discarded section. I don't expect that case to work, but it does need a better diagnostic. In this case, the .eh_frame section isn't discarded, but we're trying to get its address before it's been computed (since .eh_frame is a linker-optimized section, it hasn't been finalized yet). This case really ought to work. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils