Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 530928 - >=net-dns/unbound-1.5.0: does not respect CFLAGS (injects -flto)
Summary: >=net-dns/unbound-1.5.0: does not respect CFLAGS (injects -flto)
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal QA (vote)
Assignee: Proxy Maintainers
Depends on:
Blocks: cflags CVE-2014-8602
  Show dependency tree
Reported: 2014-11-28 03:38 UTC by Mike Gilbert
Modified: 2015-05-05 20:48 UTC (History)
2 users (show)

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

Build log (net-dns:unbound-1.5.0:20141128-032226.log,132.01 KB, text/plain)
2014-11-28 03:46 UTC, Mike Gilbert

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Gilbert gentoo-dev 2014-11-28 03:38:59 UTC
* QA Notice: Files built without respecting CFLAGS have been detected
 *  Please include the following list of files in your report:
 * /usr/lib64/
 * /usr/lib/
Comment 1 Mike Gilbert gentoo-dev 2014-11-28 03:46:46 UTC
Created attachment 390442 [details]
Build log
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2015-05-01 20:07:03 UTC
lto1: out of memory allocating 16711417868 bytes after a total of 274432 bytes
lto-wrapper: /usr/powerpc64-unknown-linux-gnu/gcc-bin/4.8.4/powerpc64-unknown-linux-gnu-gcc returned 1 exit status
/usr/lib/gcc/powerpc64-unknown-linux-gnu/4.8.4/../../../../powerpc64-unknown-linux-gnu/bin/ld: lto-wrapper failed
collect2: error: ld returned 1 exit status

That's a lot of bytes.
Comment 3 Mike Gilbert gentoo-dev 2015-05-04 00:10:18 UTC
The problem persists in 1.5.2.
Comment 4 Mike Gilbert gentoo-dev 2015-05-05 20:48:37 UTC
(In reply to Jeroen Roovers from comment #2)

Thanks for the hint on -flto. Disabling that resolves the CFLAGS issue; I believe LTO strips the flags information from the final objects.

+  05 May 2015; Mike Gilbert <> unbound-1.5.1-r2.ebuild,
+  unbound-1.5.2.ebuild, unbound-1.5.3.ebuild:
+  Disable -flto via configure, bug 530928.