Re: [blfs-dev] math.h : No such file or directory (from gcc)
On 11/02/2018 11:58, Pierre Labastie wrote: On 10/02/2018 19:35, Alain Toussaint wrote: Hello, Someone have any clue how to solve this: In file included from ../../include/c99_math.h:194:0, from ../../src/gallium/auxiliary/util/u_math.h:44, from ../../src/mesa/main/macros.h:35, from glsl_types.cpp:25: /usr/include/c++/7.3.0/cmath:45:15: erreur fatale: math.h : Aucun fichier ou dossier de ce type #include_next ^~~~ Aucun fichier ou dossier de ce type == No such file or directory. When include_next does not work it may be that some headers have been "include-fixed" and should not have been. Try running (as root): --- /usr/libexec/gcc/x86_64-pc-linux-gnu/7.1.0/install-tools/mkheaders --- before anything else. See the Caution on the BLFS GCC page. Pierre Forgot to remove the SPAM header in the preceding, and also this should be updated to: /usr/libexec/gcc/x86_64-pc-linux-gnu/7.3.0/install-tools/mkheaders Pierre -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-dev] math.h : No such file or directory (from gcc)
Not sure how you managed to get what looks like an old set of commands. I modified the ALFS generated script by hand, these settings are my own but the original setting from an svn checkout of BLFS from yesterday didn't compile because of missing amdgpu support in llvm (which was in turn modified because llvm with the amdgpu support didn't compile). I have many failure to report but then, my computer doesn't have all the software built and at the moment, I make do with alpine and lynx instead of a gnome desktop. Alain -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-dev] math.h : No such file or directory (from gcc)
On Sat, Feb 10, 2018 at 03:10:08PM -0500, Alain Toussaint wrote: > Just to do some more testing, I updated my svn tree for jhalfs-dev, LFS and > BLFS; started a new build of LFS with ALFS and upon building chapter 5 gcc > stage 1, I get this error: > > g++ -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions > -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing > -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual > -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings > -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../gcc > -I../../gcc/build -I../../gcc/../include -I../../gcc/../libcpp/include \ > -o build/genmddeps.o ../../gcc/genmddeps.c > In file included from ../../gcc/system.h:266:0, > from ../../gcc/genmddeps.c:19: > /usr/include/c++/7.3.0/cstdlib:75:15: fatal error: stdlib.h: No such file or > directory > #include_next >^~ > > I do think I have to restart from scratch as gcc seem to be broken. > > Alain > Ouch! I've just replied to your initial post, I suspect something is wrong in your copy of the book from which you are extracting the commands. ĸen -- Truth, in front of her huge walk-in wardrobe, selected black leather boots with stiletto heels for such a barefaced truth. - Unseen Academicals -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-dev] math.h : No such file or directory (from gcc)
Just to do some more testing, I updated my svn tree for jhalfs-dev, LFS and BLFS; started a new build of LFS with ALFS and upon building chapter 5 gcc stage 1, I get this error: g++ -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../gcc -I../../gcc/build -I../../gcc/../include -I../../gcc/../libcpp/include \ -o build/genmddeps.o ../../gcc/genmddeps.c In file included from ../../gcc/system.h:266:0, from ../../gcc/genmddeps.c:19: /usr/include/c++/7.3.0/cstdlib:75:15: fatal error: stdlib.h: No such file or directory #include_next ^~ I do think I have to restart from scratch as gcc seem to be broken. Alain -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-dev] math.h : No such file or directory (from gcc)
./configure CFLAGS='-O2' CXXFLAGS='-O2' LDFLAGS=-lLLVM \ Trying a build without LDFLAGS did not fix the issue. Alain -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page