public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* testsuite linker strangeness
@ 2002-08-02 16:02 Nathan Sidwell
  2002-08-02 16:10 ` Daniel Jacobowitz
  2002-08-02 16:32 ` H. J. Lu
  0 siblings, 2 replies; 4+ messages in thread
From: Nathan Sidwell @ 2002-08-02 16:02 UTC (permalink / raw)
  To: gcc

Hi,
I've managed to provoke the following out of the linker when
running the testsuite,
/usr/bin/ld: ./vbase8-21.exe: Not enough room for program headers (allocated 6, need 7)
/usr/bin/ld: final link failed: Bad value

it only happens for g++.old-deka/abi/vbase8-21 and g++.old-deja/eh/catch9
with some changes I've got to vtable layout. What does it mean? Looking
at ld's source is not helping much.

nathan
-- 
Dr Nathan Sidwell   ::   http://www.codesourcery.com   ::   CodeSourcery LLC
         'But that's a lie.' - 'Yes it is. What's your point?'
nathan@codesourcery.com : http://www.cs.bris.ac.uk/~nathan/ : nathan@acm.org

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

* Re: testsuite linker strangeness
  2002-08-02 16:02 testsuite linker strangeness Nathan Sidwell
@ 2002-08-02 16:10 ` Daniel Jacobowitz
  2002-08-02 16:32 ` H. J. Lu
  1 sibling, 0 replies; 4+ messages in thread
From: Daniel Jacobowitz @ 2002-08-02 16:10 UTC (permalink / raw)
  To: Nathan Sidwell; +Cc: gcc

On Fri, Aug 02, 2002 at 11:59:29PM +0100, Nathan Sidwell wrote:
> Hi,
> I've managed to provoke the following out of the linker when
> running the testsuite,
> /usr/bin/ld: ./vbase8-21.exe: Not enough room for program headers (allocated 6, need 7)
> /usr/bin/ld: final link failed: Bad value
> 
> it only happens for g++.old-deka/abi/vbase8-21 and g++.old-deja/eh/catch9
> with some changes I've got to vtable layout. What does it mean? Looking
> at ld's source is not helping much.

The last time this happened some section was receiving the wrong flags
(i.e. not read-only).  HJ posted or committed a patch for this
recently, I think.  Might be the same problem.

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer

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

* Re: testsuite linker strangeness
  2002-08-02 16:02 testsuite linker strangeness Nathan Sidwell
  2002-08-02 16:10 ` Daniel Jacobowitz
@ 2002-08-02 16:32 ` H. J. Lu
  2002-08-02 17:06   ` Nathan Sidwell
  1 sibling, 1 reply; 4+ messages in thread
From: H. J. Lu @ 2002-08-02 16:32 UTC (permalink / raw)
  To: Nathan Sidwell; +Cc: gcc

On Fri, Aug 02, 2002 at 11:59:29PM +0100, Nathan Sidwell wrote:
> Hi,
> I've managed to provoke the following out of the linker when
> running the testsuite,
> /usr/bin/ld: ./vbase8-21.exe: Not enough room for program headers (allocated 6, need 7)
> /usr/bin/ld: final link failed: Bad value
> 
> it only happens for g++.old-deka/abi/vbase8-21 and g++.old-deja/eh/catch9
> with some changes I've got to vtable layout. What does it mean? Looking
> at ld's source is not helping much.
> 

See

http://gcc.gnu.org/ml/gcc-patches/2002-08/msg00110.html


H.J.

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

* Re: testsuite linker strangeness
  2002-08-02 16:32 ` H. J. Lu
@ 2002-08-02 17:06   ` Nathan Sidwell
  0 siblings, 0 replies; 4+ messages in thread
From: Nathan Sidwell @ 2002-08-02 17:06 UTC (permalink / raw)
  To: H. J. Lu; +Cc: gcc

"H. J. Lu" wrote:
> See
> 
> http://gcc.gnu.org/ml/gcc-patches/2002-08/msg00110.html
Thanks to all who pointed me there.

nathan
-- 
Dr Nathan Sidwell   ::   http://www.codesourcery.com   ::   CodeSourcery LLC
         'But that's a lie.' - 'Yes it is. What's your point?'
nathan@codesourcery.com : http://www.cs.bris.ac.uk/~nathan/ : nathan@acm.org

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

end of thread, other threads:[~2002-08-03  0:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-02 16:02 testsuite linker strangeness Nathan Sidwell
2002-08-02 16:10 ` Daniel Jacobowitz
2002-08-02 16:32 ` H. J. Lu
2002-08-02 17:06   ` Nathan Sidwell

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).