[Bug rtl-optimization/62130] ld.exe: nios2_work.elf: Not enough room for program headers, try linking with -N

sandra at codesourcery dot com gcc-bugzilla@gcc.gnu.org
Thu Dec 4 03:16:00 GMT 2014


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

Sandra Loosemore <sandra at codesourcery dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sandra at codesourcery dot com

--- Comment #1 from Sandra Loosemore <sandra at codesourcery dot com> ---
This error is from a very old toolchain version from Altera.  The GCC and ld
versions now in the FSF repository have changed quite a bit since 2006.

If you can reproduce this error using a current toolchain, I think your first
step should be to ask Altera for help since you are using their linker script
and BSP library.  If it turns out to be an actual linker bug, it should be
reported in the binutils bug tracker (not GCC) with a complete reduced test
case so that it can be reproduced and investigated.



More information about the Gcc-bugs mailing list