Change History (7)
comment:1 by , 7 years ago
comment:2 by , 7 years ago
When using development branch in 32 bits.
Looks like they is an issue with binutils 2.29: I did try twice and came to the same result: when compiling glibc in chapter 5:
.. i686-lfs-linux-gnu-gcc regexp.c -c -std=gnu11 -fgnu89-inline -O2 -Wall -Werror -Wundef -Wwrite-strings -fmerge-all-constants -fno-stack-protector -frounding-math -m32 -pipe -Wstrict-prototypes -Wold-style-definition -fPIC -Wa,-mtune=i686 -ftls-model=initial-exec -I../include -I/tmp/work/src/glibc-2.25+adc7e06/build/misc -I/tmp/work/src/glibc-2.25+adc7e06/build -I../sysdeps/unix/sysv/linux/i386/i686 -I../sysdeps/i386/i686/nptl -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux/x86 -I../sysdeps/i386/nptl -I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux -I../sysdeps/nptl -I../sysdeps/pthread -I../sysdeps/gnu -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu/multiarch -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686/multiarch -I../sysdeps/i386/i686 -I../sysdeps/i386/fpu -I../sysdeps/x86/fpu/include -I../sysdeps/x86/fpu -I../sysdeps/i386 -I../sysdeps/x86 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96/include -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic -I.. -I../libio -I. -nostdinc -isystem /mnt/lfs/tools/bin/../lib/gcc/i686-lfs-linux-gnu/7.1.0/include -isystem /mnt/lfs/tools/bin/../lib/gcc/i686-lfs-linux-gnu/7.1.0/include-fixed -isystem /tools/include -D_LIBC_REENTRANT -include /tmp/work/src/glibc-2.25+adc7e06/build/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h -DPIC -DSHARED -o /tmp/work/src/glibc-2.25+adc7e06/build/misc/regexp.os -MD -MP -MF /tmp/work/src/glibc-2.25+adc7e06/build/misc/regexp.os.dt -MT /tmp/work/src/glibc-2.25+adc7e06/build/misc/regexp.os {standard input}: Assembler messages: {standard input}: Error: `loc1@GLIBC_2.0' can't be versioned to common symbol 'loc1' {standard input}: Error: `loc2@GLIBC_2.0' can't be versioned to common symbol 'loc2' {standard input}: Error: `locs@GLIBC_2.0' can't be versioned to common symbol 'locs' make[2]: * /tmp/work/src/glibc-2.25+adc7e06/build/misc/regexp.os Error 1 make[2]: * Waiting for unfinished jobs.... make[2]: Leaving directory '/tmp/work/src/glibc-2.25+adc7e06/misc' make[1]: * [Makefile:215: misc/subdir_lib] Error 2 make[1]: Leaving directory '/tmp/work/src/glibc-2.25+adc7e06' make: * [Makefile:9: all] Error 2
comment:3 by , 7 years ago
This link is more readeable http://download.nutyx.org/logs/i686/development/chroot/?C=M;O=D
comment:5 by , 7 years ago
I did a reply to -book instead of the ticket:
Try this: sed -i.orig -e 's/\(char \*loc.\)/\1 attribute ((nocommon))/' misc/regexp.c
Note that the fix is not in binutils, but in glibc. I suppose we could just generate a new version of glibc with the fix. I hope glibc will release anew version soon.
And at https://www.gnu.org/software/libc/libc.html
"The current development version of glibc 2.26, releasing on or around August 1, 2017."
So we probably should just hold off any updates and wait for that.
comment:6 by , 7 years ago
Great news about glibc 2.26 as they was a few others patchs.
Looking forward for glibc 2.26 for my next stable version of NuTyX. In means time the patch I found did the job.
Changes in 2.29: