Ticket #176 (closed task: fixed)

Opened 6 years ago

Last modified 3 years ago

Glibc 2.8

Reported by: jciccone Owned by: jciccone
Priority: major Milestone: CLFS Standard 1.2.0
Component: BOOK Version: CLFS Standard GIT
Keywords: Cc:

Description

Apparently Glibc is not planning on releasing tarballs anymore but the release is still tagged in their CVS. I have it checked out, if builds work on a few architectures I'll get the tarball on the server and commit the change.

Change History

comment:1 Changed 6 years ago by jciccone

  • Owner changed from clfs-commits@… to jciccone

comment:2 Changed 6 years ago by jciccone

When the specs patch is applied to GCC static I get build errors building glibc 2.8 release and branch. Hopefully will figure out why today.

comment:3 Changed 6 years ago by jciccone

Correction, It happes with / without the specs patch applied. Something else much have changed in my toolchain to have it compile once before but not again. I'm building GCC now as soon as I get to Glibc I'll post the error here.

comment:4 Changed 6 years ago by jciccone

x86_64-unknown-linux-gnu-gcc -m32 fstat.c -c -std=gnu99  -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -g -march=i686 -mtune=generic -Wstrict-prototypes -mpreferred-stack-boundary=2  -fPIC    -I../include -I/mnt/clfs-x86_64/sources/glibc-build/io -I/mnt/clfs-x86_64/sources/glibc-build -I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 -I../nptl/sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../nptl/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../nptl/sysdeps/i386/i686 -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../nptl/sysdeps/i386 -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl  -I.. -I../libio -I. -nostdinc -isystem /mnt/clfs-x86_64/cross-tools/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.3.2/include -isystem /mnt/clfs-x86_64/cross-tools/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.3.2/include-fixed -isystem /tools/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h   -DPIC -DLIBC_NONSHARED=1     -o /mnt/clfs-x86_64/sources/glibc-build/io/fstat.oS -MD -MP -MF /mnt/clfs-x86_64/sources/glibc-build/io/fstat.oS.dt -MT /mnt/clfs-x86_64/sources/glibc-build/io/fstat.oS
stat.c:50: error: redefinition of '__stat'
../include/sys/stat.h:23: error: previous definition of '__stat' was here
make[2]: *** [/mnt/clfs-x86_64/sources/glibc-build/io/stat.oS] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/mnt/clfs-x86_64/sources/glibc-2.8/io'
make[1]: *** [io/subdir_lib] Error 2
make[1]: Leaving directory `/mnt/clfs-x86_64/sources/glibc-2.8'
make: *** [all] Error 2

comment:5 Changed 6 years ago by jciccone

Adding the following to config.cache seems to fix it.

echo "libc_cv_gnu89_inline=yes" >> config.cache

comment:6 Changed 6 years ago by jciccone

  • Status changed from new to closed
  • Resolution set to fixed

Updated in r4041.

Build errors related to Glibc 2.8 should go in their own tickets.

comment:7 Changed 5 years ago by sunrise

I'm closing it according to the last comment. New Nike Air Yeezy
Note: See TracTickets for help on using tickets.