Summary: | media-sound/pulseaudio-5.0-r4 - configure:19002: checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC -DPIC works // configure:19037: result: no | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Marek Szuba <marecki> |
Component: | [OLD] GNOME | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | CC: | sound |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
pulseaudio-5.0-r4-build.log.xz
pulseaudio-5.0-r4-config.log.xz |
Description
Marek Szuba
2014-11-25 12:35:36 UTC
Created attachment 390262 [details]
pulseaudio-5.0-r4-build.log.xz
An update: one can get this ebuild to install successfully by explicitly setting PIC flags (I have used both -fPIC and -DPIC to be on the safe side) in both CFLAGS and CXXFLAGS. Setting them in CXXFLAGS only merely shifts the error to a different file. checking for x86_64-pc-linux-gnu-gcc -std=gnu99 option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes [...] checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC -DPIC works... no Why does it not work for g++? Please attach that config.log to this bug report. Created attachment 390354 [details]
pulseaudio-5.0-r4-config.log.xz
Here is a config.log file. Note that this time I have forced PIC flags for neither C nor C++ flags - resulting in configure stating that PIC flags work for neither gcc nor g++.
configure:19002: checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC -DPIC works configure:19020: x86_64-pc-linux-gnu-g++ -c -ggdb3 -O2 -pipe -march=native -floop-interchange -floop-strip-mine -floop-block -DFASTPATH -D_FORTIFY_SOURCE=2 -fPIC -DPIC -DPIC conftest.cpp >&5 <command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default] <built-in>:0:0: note: this is the location of the previous definition <command-line>:3:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default] <built-in>:198:0: note: this is the location of the previous definition configure:19024: $? = 0 configure:19037: result: no Please retry on a full updated system and with pulseaudio-7.0 No build error this time. |