Summary: | app-emulation/lxc-1.1.5 emerge fails due to missing -fPIC CFLAG | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alex <sisokolov> |
Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Alex
2015-12-21 16:36:47 UTC
Fixed with: $ cat /etc/portage/env/lxc/lxc.conf CFLAGS="${CFLAGS} -fPIC" $ cat /etc/portage/package.env/lxc app-emulation/lxc lxc/lxc.conf Looks INVALID. Funny C{XX}FLAGS aside, '-fPIE' doesn't belong into global flags. My CFLAGS are like that because I use DISTCC to cross compile: https://wiki.gentoo.org/wiki/Distcc#-march.3Dnative Removing -fPIE fixed the issue. |