NetBSD-Bugs archive

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

Re: toolchain/51066: C++ text relocations



The following reply was made to PR toolchain/51066; it has been noted by GNATS.

From: Nick Hudson <skrll%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost, toolchain-manager%netbsd.org@localhost,
 gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Cc: 
Subject: Re: toolchain/51066: C++ text relocations
Date: Tue, 19 Apr 2016 07:54:47 +0100

 On 04/14/16 12:55, Nick Hudson wrote:
 > Need to fix binutils... from src/libexec/ld.elf_so/rtld.c
 >
 >     342 #if !defined(__arm__) && !defined(__mips__) && !defined(__sh__)
 >     343     /* ARM, MIPS and SH{3,5} have a bogus DT_TEXTREL. */
 >     344     assert(!_rtld_objself.textrel);
 >     345 #endif
 
 Actually, this is a different (and fixed?) old bug.
 
 There is an incorrect DT_TEXTREL in libstdc++
 
 ...bin/ld: warning: dynamic relocation to `__gxx_personality_v0' in 
 readonly section `.eh_frame'
 
 which is coming from eh_personality.cc
 
 I've tracked the problem down to config.gcc where arm/arm.h needs to be 
 last so that
 the ARM_TARGET2_DWARF_FORMAT define in netbsd-eabi.h is seen
 
 I'm testing a fix
 
 Nick
 


Home | Main Index | Thread Index | Old Index