Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 598132 - app-emulation/virtualbox (5.1.8, 5.1.10) does not compile with hardened-sources (4.7.6;4.7.8;4.7.10)
Summary: app-emulation/virtualbox (5.1.8, 5.1.10) does not compile with hardened-sourc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-26 14:14 UTC by Gerold Schellstede
Modified: 2018-10-12 01:02 UTC (History)
1 user (show)

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


Attachments
emerge --info (emerge_info.txt,13.00 KB, text/plain)
2016-10-26 14:14 UTC, Gerold Schellstede
Details
emerge -pqv (emerge_pqv.txt,191 bytes, text/plain)
2016-10-26 14:15 UTC, Gerold Schellstede
Details
Shortened version of build.log (Full Version has 14MB) (build.log,15.09 KB, text/x-log)
2016-10-26 14:17 UTC, Gerold Schellstede
Details
Full build.log (as tar.gz) (build.log.tar.gz,293.58 KB, application/gzip)
2016-10-26 15:50 UTC, Gerold Schellstede
Details
build of 5.1.10 (5.1.10-build.log.tar.gz,294.06 KB, application/gzip)
2016-11-23 09:55 UTC, Gerold Schellstede
Details
5.1.10 emerge --info (5.1.10-emerge-info.txt,6.24 KB, text/plain)
2016-11-23 09:55 UTC, Gerold Schellstede
Details
5.1.10 emerge -pqv (5.1.10-emerge-pqv.txt,757 bytes, text/plain)
2016-11-23 09:56 UTC, Gerold Schellstede
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gerold Schellstede 2016-10-26 14:14:04 UTC
Hello,

app-emulation/virtualbox-5.1.8 does not compile with gcc-5.4 on hardened-sources-4.7.10. 

Before, I tested it also with gcc-4.9.3 on hardenend-sources-4.7.6 and 4.7.10 --> same problem. 

Additionally virtualbox-5.1.6 with gcc-4.9.3 on hardenend-sources-4.7.6 produces the problem.

In fact I updated to gcc-5.4, because I thought that this could eventually solve the compiling problem, but it does not.

For the record: virtualbox-modules-5.1.8 (5.1.6) seem to build properly in all mentioned variants

Best regards
Comment 1 Gerold Schellstede 2016-10-26 14:14:50 UTC
Created attachment 451500 [details]
emerge --info
Comment 2 Gerold Schellstede 2016-10-26 14:15:13 UTC
Created attachment 451502 [details]
emerge -pqv
Comment 3 Gerold Schellstede 2016-10-26 14:17:57 UTC
Created attachment 451504 [details]
Shortened version of build.log (Full Version has 14MB)
Comment 4 Coacher 2016-10-26 14:23:14 UTC
(In reply to Gerold Schellstede from comment #3)
> Created attachment 451504 [details]
> Shortened version of build.log (Full Version has 14MB)
Please compress and attach full build.log instead.
Comment 5 Gerold Schellstede 2016-10-26 15:50:32 UTC
Created attachment 451514 [details]
Full build.log (as tar.gz)
Comment 6 Jesse Adelman 2016-10-27 00:09:39 UTC
FWIW, the I see similar end-of-build behavior on my "non-hardened" gentoo-sources-4.8.4 kernel. virtualbox-modules compile fine, however.
Comment 7 Gerold Schellstede 2016-10-31 12:30:04 UTC
(In reply to Jesse Adelman from comment #6)
> FWIW, the I see similar end-of-build behavior on my "non-hardened"
> gentoo-sources-4.8.4 kernel. virtualbox-modules compile fine, however.

I assume that it would be helpful if you upload your build.log as well as the output of "emerge -pqv virtualbox" and "emerge --info virtualbox".
Comment 8 Gerold Schellstede 2016-11-23 09:55:04 UTC
Problem still alive with virtualbox-5.1.10

New build.log, etc. is attached. 

@ Jesse Adelman: Is the problem also alive with non-hardened kernel?

Best regards
Comment 9 Gerold Schellstede 2016-11-23 09:55:31 UTC
Created attachment 454112 [details]
build of 5.1.10
Comment 10 Gerold Schellstede 2016-11-23 09:55:54 UTC
Created attachment 454114 [details]
5.1.10 emerge --info
Comment 11 Gerold Schellstede 2016-11-23 09:56:13 UTC
Created attachment 454116 [details]
5.1.10 emerge -pqv
Comment 12 Gerold Schellstede 2016-11-23 09:59:55 UTC
Eventually this bug is related to

https://bugs.gentoo.org/show_bug.cgi?id=591582

but I am not sure?!
Comment 13 Gerold Schellstede 2016-12-06 19:21:27 UTC
This bug is a duplicate of https://bugs.gentoo.org/show_bug.cgi?id=591582
Comment 14 Gerold Schellstede 2016-12-06 19:22:45 UTC
This bug is a duplicate of https://bugs.gentoo.org/show_bug.cgi?id=591582 

The patch suggested there resolves the problem!
Comment 15 Lagu 2017-03-13 12:34:11 UTC
Hi, actually 5.1.14 compile fine with hardened-sources(amd64).