public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/62130] New: ld.exe: nios2_work.elf: Not enough room for program headers, try linking with -N
@ 2014-08-14  7:27 qiweistar at 163 dot com
  2014-12-04  3:16 ` [Bug rtl-optimization/62130] " sandra at codesourcery dot com
  0 siblings, 1 reply; 2+ messages in thread
From: qiweistar at 163 dot com @ 2014-08-14  7:27 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 62130
           Summary: ld.exe: nios2_work.elf: Not enough room for program
                    headers, try linking with -N
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: qiweistar at 163 dot com

I tried to compile a project in Ecplise on windows 7.
gcc version 4.1.2 
GNU ld version 2.17.50 20060817
The linker fails with
Not enough room for program headers, try linking with -N
ld.exe: final link failed: Bad value
collect2: ld returned 1 exit status
make: *** [nios2_work.elf] Error 1
I studied the man pages and all newsgroups, and I asked some newsgroups, but
had no success.
Is this an error or is there a possibility to surround this error ?
Please help !
Thanks a lot,


**** Build of configuration Nios II for project nios2_work ****
make all 
Info: Building
F:/program/FPGA/xieyifenxiyi/double_core/NiosII_0/nios2_work_bsp/
make --no-print-directory -C
F:/program/FPGA/xieyifenxiyi/double_core/NiosII_0/nios2_work_bsp/
[BSP build complete]
Info: Linking nios2_work.elf
nios2-elf-g++ 
-T'F:/program/FPGA/xieyifenxiyi/double_core/NiosII_0/nios2_work_bsp//linker.x'
-msys-crt0='F:/program/FPGA/xieyifenxiyi/double_core/NiosII_0/nios2_work_bsp//obj/HAL/src/crt0.o'
-msys-lib=hal_bsp
-LF:/program/FPGA/xieyifenxiyi/double_core/NiosII_0/nios2_work_bsp/  -msmallc 
-Wl,-Map=nios2_work.map   -O0 -g -Wall   -EL -mno-hw-div -mhw-mul -mno-hw-mulx 
-o nios2_work.elf obj/main/main.o -lm 
d:/altera/11.0/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/bin/ld.exe:
nios2_work.elf: Not enough room for program headers, try linking with -N
d:/altera/11.0/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/bin/ld.exe:
final link failed: Bad value
collect2: ld returned 1 exit status
make: *** [nios2_work.elf] Error 1


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-12-04  3:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-14  7:27 [Bug c++/62130] New: ld.exe: nios2_work.elf: Not enough room for program headers, try linking with -N qiweistar at 163 dot com
2014-12-04  3:16 ` [Bug rtl-optimization/62130] " sandra at codesourcery dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).