Discussion:
[lng-odp] [Bug 4040] Clang build fails on Ubuntu 18.04
b***@bugs.linaro.org
2018-10-26 10:59:58 UTC
Permalink
https://bugs.linaro.org/show_bug.cgi?id=4040

--- Comment #1 from Petri Savolainen <***@linaro.org> ---
Build passes with:

./configure CC=clang CFLAGS=-fPIC

So, may be default C flags are different in different Ubuntu / clang versions.
--
You are receiving this mail because:
You are on the CC list for the bug.
b***@bugs.linaro.org
2018-11-14 02:27:05 UTC
Permalink
https://bugs.linaro.org/show_bug.cgi?id=4040

Bill Fischofer <***@linaro.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@linaro.org

--- Comment #2 from Bill Fischofer <***@linaro.org> ---
This has been a known issue for some time. C++ in clang now needs -fPIC to
resolve. This seems to be a feature of the latest versions of clang.
--
You are receiving this mail because:
You are on the CC list for the bug.
b***@bugs.linaro.org
2018-11-19 04:47:08 UTC
Permalink
https://bugs.linaro.org/show_bug.cgi?id=4040

Dmitry Eremin-Solenikov <***@linaro.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@lina
| |ro.org

--- Comment #3 from Dmitry Eremin-Solenikov <***@linaro.org> ---
Could you please try checking if -fPIE is enough?
--
You are receiving this mail because:
You are on the CC list for the bug.
b***@bugs.linaro.org
2018-11-19 12:34:13 UTC
Permalink
https://bugs.linaro.org/show_bug.cgi?id=4040

--- Comment #4 from Petri Savolainen <***@linaro.org> ---
Yes, -fPIE helps.

./configure CC=clang CFLAGS=-fPIE
--
You are receiving this mail because:
You are on the CC list for the bug.
Loading...