Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 327421 - dev-libs/openssl-1.0.0a doesn't respect LDFLAGS
Summary: dev-libs/openssl-1.0.0a doesn't respect LDFLAGS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 331609 (view as bug list)
Depends on: 181438
Blocks: ldflags
  Show dependency tree
 
Reported: 2010-07-08 02:32 UTC by Samuli Suominen (RETIRED)
Modified: 2016-04-02 21:04 UTC (History)
2 users (show)

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


Attachments
build.log (dev-libs:openssl-1.0.0a:20100708-022630.log,534.61 KB, text/plain)
2010-07-08 02:33 UTC, Samuli Suominen (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Samuli Suominen (RETIRED) gentoo-dev 2010-07-08 02:32:25 UTC
* QA Notice: Files built without respecting LDFLAGS have been detected
*  Please include the following list of files in your report:
* /usr/bin/openssl

Portage 2.2_rc67 (default/linux/amd64/10.0/desktop, gcc-4.5.0-asneeded, glibc-2.11.2-r0, 2.6.34 x86_64)
=================================================================
System uname: Linux-2.6.34-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q8200_@_2.33GHz-with-gentoo-2.0.1
Timestamp of tree: Unknown
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.4.6, 2.6.5-r2
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.4_p6-r1, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.5.0
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -msse4.1 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="-march=core2 -msse4.1 -O2 -pipe"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed"

^ FTR. Need Portage 2.2 and -Wl,--hash-style=gnu to print this QA warning.

MAKEOPTS="-j9"
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-07-08 02:33:35 UTC
Created attachment 237971 [details]
build.log
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-07-08 11:00:06 UTC
(In reply to comment #0)
> ^ FTR. Need Portage 2.2 and -Wl,--hash-style=gnu to print this QA warning.

Portage 2.1.6 also contains the check for LDFLAGS.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2010-07-08 11:46:21 UTC
(In reply to comment #2)
> (In reply to comment #0)
> > ^ FTR. Need Portage 2.2 and -Wl,--hash-style=gnu to print this QA warning.
> 
> Portage 2.1.6 also contains the check for LDFLAGS.
> 

Good to know, thanks.
Comment 4 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-08-08 18:40:43 UTC
*** Bug 331609 has been marked as a duplicate of this bug. ***
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2010-08-08 18:42:48 UTC
(In reply to comment #4)
> *** Bug 331609 has been marked as a duplicate of this bug. ***
> 

^^ This bug has a patch here:

http://bugs.gentoo.org/attachment.cgi?id=241831
Comment 6 Gef 2010-08-09 23:32:49 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > *** Bug 331609 has been marked as a duplicate of this bug. ***
> > 
> 
> ^^ This bug has a patch here:
> 
> http://bugs.gentoo.org/attachment.cgi?id=241831
> 
Compiles fine with the patch, and no more QAWarning.
~amd64 + gcc-4.5.1
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2010-08-10 21:05:25 UTC
+*openssl-1.0.0a-r1 (10 Aug 2010)
+
+  10 Aug 2010; Samuli Suominen <ssuominen@gentoo.org>
+  +openssl-1.0.0a-r1.ebuild, +files/openssl-1.0.0a-fix-double-free.patch,
+  +files/openssl-1.0.0a-ldflags.patch:
+  Use environment LDFLAGS wrt #327421 by Olivier Huber. Fix double free wrt
+  #332027 by Hanno Boeck.