Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 555192 - =sys-apps/openrc-0.17 is unable to boot if compiled with -fsanitize=address
Summary: =sys-apps/openrc-0.17 is unable to boot if compiled with -fsanitize=address
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: OpenRC (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: OpenRC Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-17 12:57 UTC by Agostino Sarubbo
Modified: 2015-07-30 16:35 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2015-07-17 12:57:33 UTC
Openrc is unable to boot anymore if compiled with -fsanitize=address.

I'd suggest to test in a virtual machine because you can't login anymore. Thanks
Comment 1 William Hubbs gentoo-dev 2015-07-23 00:45:16 UTC
Which version of gcc are you working with?
Comment 2 Agostino Sarubbo gentoo-dev 2015-07-23 06:55:30 UTC
llvm/clang 3.6.1.

The compilation does not fail.
Comment 3 Hanno Böck gentoo-dev 2015-07-27 22:10:29 UTC
The reason openrc does not boot with address sanitizer is that it requires proc to be mounted. Basically a system with asan will need an initrd that pre-mounts things. I'm not sure if that is enough to actually boot it.

I don't think this can be really considered a bug in openrc. There's nothing it can do about that, this is a design limitation of address sanitizer.
Comment 4 William Hubbs gentoo-dev 2015-07-30 16:35:52 UTC
I am closing this as invalid per comment #3; there is really nothing I
can do.