On 06/06/2018 02:46 PM, Christopher Gregory wrote:
Hello,
With this new build that I am currently doing using gcc-8.1.0 and having had to
install clang etc to build the drivers for my radeon video card,
I found that having CC=gcc parsed to both configure and make was not enough to
get this to compile. When it went through the configure and was running make,
I noticed that
it still had CXX=clang listed along with CC=gcc, and the build failed.
I had to add CC=gcc CXX=g++ to the instructions to get it to work correctly as
it always failed with:
Compiling ppdc-array.cxx...
clang-6.0: error: unknown argument: '-fno-lifetime-dse'
Would it hurt to have the CXX=g++ added to the current book instructions? I do
not know if it is or will affect anyone else, or if even this build of mine has
a mind of its own.
Why did you have CXX=clang? We don't have that anywhere in the book.
Looks like an issue specific to your configuration to me.
We do mention CC=clang in stunnel, but that is for old versions of
binutils and we do not export it even then.
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page