Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20110306222450.2F0C.0@paddy.troja.mff.cuni.cz>
Date: Sun, 6 Mar 2011 23:49:44 +0100 (CET)
From: Pavel Kankovsky <peak@...o.troja.mff.cuni.cz>
To: owl-dev@...ts.openwall.com
Subject: Re: [bugzilla-daemon@...nvz.org: [Bug 1801] VDSO: Not
 enough room for program headers]

It appears to be a problem with the vdso link script (vdso.lds).
ld manual says it happens when SIZEOF_HEADERS is used before the actual 
size of program headers is known and suggests to avoid SIZEOF_HEADERS
or to use PHDRS.

The odd thing is that (afaict) there is a PHDRS definition in the link 
script.

Nevertheless, the code (bfd/elf.c) is quite obvious: the error message
means one of sections in the (loadable) segment including the file header
("text" in our case) collides with the headers.

Perhaps it would help to change SIZEOF_HEADERS to some generous hardcoded 
constant (it might become necessary to increase offsets in subsequent "." 
directives too).

-- 
Pavel Kankovsky aka Peak                          / Jeremiah 9:21        \
"For death is come up into our MS Windows(tm)..." \ 21st century edition /

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.