[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/694] assertion failure while trying to link qemu 0.6.1

From: nickc at redhat dot com
Subject: [Bug binutils/694] assertion failure while trying to link qemu 0.6.1
Date: 2 Feb 2005 10:47:38 -0000

------- Additional Comments From nickc at redhat dot com  2005-02-02 10:47 
Subject: Re:  assertion failure while trying to link qemu

Hi bero,

> Trying to compile qemu 0.6.1 results in an ld assertion failure:  

> /usr/bin/ld: qemu-fast: Not enough room for program headers (allocated 5, 
> need  
> 6)  

Please read the section in the linker manual about this error message:

   When producing an ELF output file, if the linker script uses the
   SIZEOF_HEADERS builtin function, the linker must compute the
   number of program headers before it has determined all the section
   addresses and sizes.  If the linker later discovers that it needs
   additional program headers, it will report an error "not enough
   room for program headers".  To avoid this error, you must avoid using
   the SIZEOF_HEADERS function, or you must rework your linker
   script to avoid forcing the linker to use additional program headers,
   or you must define the program headers yourself using the PHDRS

You will need to modify your linker script as suggested above.




------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]