2022-06-16

slitaz-41- gcc - fixincludes

 

gcc - fixincludes

I begin check and maybe issue about autoconf, but it's very strange.
with glibc-2.30 no problem, with glibc >, failed systematically :/
I bump autoconf to 2.71 (same as LFS 10.1), but error again.
The main error seem about "two or more data types in declaration specifiers",
seem https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94089 good trace
https://forum.slitaz.org/topic/slitaz-development-strategy-direction/page/3?replies=84#post-50701 

In case no problem in glibc compilation, it's after glibc compiled
binutils "first pass" ok
gcc first pass ok
glibc (locale,extra-samba,base,dev) ok
binutils "second pass" failed
gcc second pass failed 'due of binutils previous failed'
But with glibc-2.30 all step work.

seem https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94089 good trace

Try:

Comment 1

If you use a gcc with a different glibc, you need to rerun fixincludes. Fixincludes is installed too.

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94089#c1

or


# Do not run fixincludes

sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in

https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=gcc10#n43


https://forum.slitaz.org/topic/slitaz-development-strategy-direction/page/3?replies=84#post-50704