Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 345259 - app-emulation/lxc-0.7.2-r1 failed compile
Summary: app-emulation/lxc-0.7.2-r1 failed compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Diego Elio Pettenò (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-13 04:04 UTC by Ryo Takaishi
Modified: 2010-11-16 14:14 UTC (History)
2 users (show)

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


Attachments
Log file that failed emerge lxc-0.7.2-r1 (build.log,30.86 KB, text/plain)
2010-11-13 04:10 UTC, Ryo Takaishi
Details
"emerge --info" file (log,4.65 KB, text/plain)
2010-11-14 12:46 UTC, Ryo Takaishi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ryo Takaishi 2010-11-13 04:04:29 UTC
I failed to emerge lxc-0.7.2-r1 on amd64 when LDFLAGS="-Wl,--as-needed".

Reproducibility: Every time

Steps to Reproduce:
1. emerge lxc

Actual Results:
failed emerge lxc.

When without LDFLAGS="-Wl,--as-needed", emerge is successfull.
Comment 1 Ryo Takaishi 2010-11-13 04:10:27 UTC
Created attachment 254167 [details]
Log file that failed emerge lxc-0.7.2-r1

Log file that failed to emerge lxc-0.7.2-r1 on amd64 when LDFLAGS="-Wl,-O1 -Wl,--as-needed".
Comment 2 Rafał Mużyło 2010-11-13 13:48:44 UTC
As in most of other ''--as-needed' bugs, correct solution
is that liblxc should link to libcap.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-11-13 13:52:48 UTC
Can you still please post your emerge --info? Because there is something strange as this doesn't fail with forced as-needed…
Comment 4 Ryo Takaishi 2010-11-14 12:46:26 UTC
Created attachment 254289 [details]
"emerge --info" file
Comment 5 Ryo Takaishi 2010-11-14 12:47:33 UTC
(In reply to comment #3)
> Can you still please post your emerge --info? Because there is something
> strange as this doesn't fail with forced as-needed…
> 

Uploaded my emerge --info to http://bugs.gentoo.org/attachment.cgi?id=254289.
Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-11-16 14:14:40 UTC
Fixed in 0.7.3 already (and upstream didn't upload it to sf.net's FRS…).