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

Bug 476004

Summary: net-proxy/oops : does not respect LD
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Network Proxy Developers (OBSOLETE) <net-proxy+disabled>
Status: RESOLVED FIXED    
Severity: QA Flags: dastergon: Bugday+
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    

Description Agostino Sarubbo gentoo-dev 2013-07-06 22:19:24 UTC
You receive this bug because this package does not respect my system's LD (x86_64-pc-linux-gnu-gcc) and calls directly /usr/bin/ld (or similar)
The possible solutions to fix this issue are:
1)Fix the buildsystem, if you can;
2)inherit toolchain-funcs and use tc-export LD If you strictly need ld
3)inherit toolchain-funcs and use emake LD="$(tc-getCC)"


From the build log:

ld -shared -O1 --as-needed --hash-style=gnu  -o log_dummy.so log_dummy.o -lpthread -lfl -lpam  -lcrypt -ldl -lpcreposix -L/usr/lib -ldb
Comment 1 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-12-15 20:27:36 UTC
+  15 Dec 2013; Tom Wijsman <TomWij@gentoo.org>
+  +files/oops-1.5.24-respect-flags.patch, +oops-1.5.24_pre20050503-r5.ebuild:
+  Revision bump. Respect LDFLAGS, LD and CXX; fixes bugs #476000, #476002 and
+  #476004. Thanks to dlan for contributing patches. Use /run instead of
+  /var/run; fixes bug #451794. EAPI 5.

Thank you for your report.