Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 251141 - games-strategy/lgeneral: fails to build with forced --as-needed
Summary: games-strategy/lgeneral: fails to build with forced --as-needed
Status: RESOLVED DUPLICATE of bug 247496
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: as-needed
  Show dependency tree
 
Reported: 2008-12-16 11:12 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2009-02-12 11:30 UTC (History)
2 users (show)

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


Attachments
Build log (lgeneral-1.2_beta12-r1:20081215-072008.log,30.74 KB, text/plain)
2008-12-16 11:12 UTC, Diego Elio Pettenò (RETIRED)
Details
as-needed.patch (as-needed.patch,571 bytes, patch)
2009-01-13 16:34 UTC, Christian Ruppert (idl0r)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-12-16 11:12:01 UTC
.
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-12-16 11:12:14 UTC
Created attachment 175448 [details]
Build log
Comment 2 Tupone Alfredo gentoo-dev 2009-01-13 10:33:24 UTC
I cannot reproduce it. From the error it seems like -lm is not specified during your build of ltrextract.

But it is (extract from your log):


i686-pc-linux-gnu-gcc -DLTREXTRACT  -I../../src -I../.. -I../../util  -O2 -pipe -Wall -lm -Wl,-O1 -o ltrextract ltrextract.o util.o terrain.o map.o nation.o unit_lib.o scenario.o campaign.o parser.o list.o  ../../util/libutil.a


Do you have any explaination for that?
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-01-13 16:14:26 UTC
Ah sorry Alfredo, I misfiled it it seems, it's an --as-needed problem!
Comment 4 Christian Ruppert (idl0r) gentoo-dev 2009-01-13 16:34:09 UTC
Created attachment 178381 [details, diff]
as-needed.patch

hey guys,

i wrote that patch for 1.2_beta13 so i'm not sure if that works with beta12
but it should solve the problem :)
Comment 5 Tupone Alfredo gentoo-dev 2009-02-12 11:30:38 UTC

*** This bug has been marked as a duplicate of bug 247496 ***