Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 354051 - dev-libs/zziplib-0.13.60 fails to build with gcc 4.6
Summary: dev-libs/zziplib-0.13.60 fails to build with gcc 4.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: SpanKY
URL: https://sourceforge.net/tracker/?func...
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.6 357899
  Show dependency tree
 
Reported: 2011-02-08 02:39 UTC by Ryan Hill (RETIRED)
Modified: 2011-03-08 11:25 UTC (History)
2 users (show)

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


Attachments
zziplib-0.13.60-gcc46.patch (zziplib-0.13.60-gcc46.patch,575 bytes, patch)
2011-02-08 02:39 UTC, Ryan Hill (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Hill (RETIRED) gentoo-dev 2011-02-08 02:39:03 UTC
zziplib uses LDFLAGS="--export-dynamic".  Linker flags starting with -- are actually silently ignored on linker command lines.  4.6 just doesn't accept them.  

See http://gcc.gnu.org/PR46410 or http://gcc.gnu.org/PR47390.
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2011-02-08 02:39:50 UTC
Created attachment 261773 [details, diff]
zziplib-0.13.60-gcc46.patch
Comment 2 Rafał Mużyło 2011-02-08 03:01:14 UTC
Given comments in those bugs, it seems that -export-all-symbols should be fixed too.
Comment 3 Ryan Hill (RETIRED) gentoo-dev 2011-02-08 03:27:22 UTC
are you talking about in zziplib or gcc?
Comment 4 SpanKY gentoo-dev 2011-02-10 02:21:40 UTC
i tweaked the patch to apply against configure (since we're avoiding running autotools atm) and added to the tree.  cheers !
Comment 5 Daniel Hornung 2011-02-21 16:58:03 UTC
Actually this bug makes the linking of zziplib fail on prefix/darwin/macos/10.5/x64, with gcc-4.2.1.