Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 636604 - sys-libs/compiler-rt-sanitizers: -D_FORTIFY_SOURCE=2 flag gives error: redefinition of 'realpath'
Summary: sys-libs/compiler-rt-sanitizers: -D_FORTIFY_SOURCE=2 flag gives error: redefi...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: LLVM support project
Depends on:
Reported: 2017-11-05 11:51 UTC by Haelwenn Monnier
Modified: 2018-02-20 03:51 UTC (History)
0 users

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

lzma /var/tmp/portage/sys-libs/compiler-rt-sanitizers-4.0.1/temp/build.log (build.log.lzma,86.42 KB, application/octet-stream)
2017-11-05 11:58 UTC, Haelwenn Monnier

Note You need to log in before you can comment on or make changes to this bug.
Description Haelwenn Monnier 2017-11-05 11:51:03 UTC
When building with '-D_FORTIFY_SOURCE=2' in the CLFAGS/CXXFLAGS the build fails, when the flag isn’t present the build doesn’t fail.

I found this issue ( leading me to it.
Comment 1 Haelwenn Monnier 2017-11-05 11:58:43 UTC
Created attachment 502690 [details]
lzma /var/tmp/portage/sys-libs/compiler-rt-sanitizers-4.0.1/temp/build.log
Comment 2 Haelwenn Monnier 2018-02-20 03:51:36 UTC
I have this bug again on 5.0.1 btw.