Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 122698

Summary: NetBSD's elf header in gcc. An important thing for the new structure of Gentoo/NetBSD.
Product: Gentoo/Alt Reporter: Benigno B. Junior (RETIRED) <bbj>
Component: OtherAssignee: Gentoo/BSD Team <bsd+disabled>
Status: RESOLVED FIXED    
Severity: normal CC: toolchain
Priority: High    
Version: unspecified   
Hardware: All   
OS: Other   
URL: https://gcc.gnu.org/ml/gcc-patches/2015-05/msg02854.html
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: gcc-nbsd-elf.patch

Description Benigno B. Junior (RETIRED) gentoo-dev 2006-02-13 08:46:33 UTC
After some days of painful hacking and debugging the NetBSD's dynamic linker to get newers gcc working for the NetBSD base, I end up by discovering a missing instruction which must be present in order to create right sections (Ndx) for ld.elf_so. Without this, the dynamic linker core dumps everything, after replaced.

This way, we can drop the old gcc (3.3.3) needed to build the base and just use the newers provided by the portage.

I've already sent this notification to upstream developers, as this may be an interest for NetBSD in general.
Comment 1 Benigno B. Junior (RETIRED) gentoo-dev 2006-02-13 08:48:09 UTC
Created attachment 79702 [details, diff]
gcc-nbsd-elf.patch

Here goes the patch.
Comment 2 SpanKY gentoo-dev 2006-02-15 20:04:25 UTC
added to gcc 3.4.5 and 4.0.2 patchsets
Comment 3 SpanKY gentoo-dev 2008-03-17 02:50:58 UTC
where did you notify upstream ?  did you e-mail the gcc developers or something ?