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

Bug 317211

Summary: sys-devel/gcc-4.4.3-r2 doesn't compile in FreeBSD anymore.
Product: Gentoo/Alt Reporter: Javier Villavicencio (RETIRED) <the_paya>
Component: FreeBSDAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED FIXED    
Severity: blocker CC: alt
Priority: High Keywords: Inclusion
Version: unspecified   
Hardware: All   
OS: FreeBSD   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 318075    
Attachments: 93_all_gcc-4.4-cloog-dl.patch

Description Javier Villavicencio (RETIRED) gentoo-dev 2010-04-26 02:10:09 UTC
http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gcc/4.4.3/gentoo/93_all_gcc-4.4-cloog-dl.patch?rev=1.1&view=markup

Patch adds arbitrary linking against libdl, whose functionality is already found in the FreeBSD libc, merging gcc with that -ldl ends up with a library not found error.
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2010-04-27 04:07:08 UTC
Created attachment 229341 [details, diff]
93_all_gcc-4.4-cloog-dl.patch

on the bright side, we know now why it was never sent upstream.  give this one a try.
Comment 2 Javier Villavicencio (RETIRED) gentoo-dev 2010-04-27 08:52:31 UTC
Patch works fine, gcc is emergeable again. Ran a testsuite too, nothing changed, so it looks good.
Comment 3 Ryan Hill (RETIRED) gentoo-dev 2010-05-02 19:45:47 UTC
Let's get this in 4.4.4 and dekeyword 4.4.3-r2 on *-bsd.
Comment 4 SpanKY gentoo-dev 2010-06-10 05:23:24 UTC
added the patch with gcc-4.4.4