Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 122698 - NetBSD's elf header in gcc. An important thing for the new structure of Gentoo/NetBSD.
Summary: NetBSD's elf header in gcc. An important thing for the new structure of Gento...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Other
: High normal
Assignee: Gentoo/BSD Team
URL: https://gcc.gnu.org/ml/gcc-patches/20...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-13 08:46 UTC by Benigno B. Junior (RETIRED)
Modified: 2015-05-30 12:14 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
gcc-nbsd-elf.patch (gcc-nbsd-elf.patch,503 bytes, patch)
2006-02-13 08:48 UTC, Benigno B. Junior (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 ?