WebHosting Paid by #1Payday.Loans


   The ROCK Linux project has been discontinued in 2010. Here are the old data for the historical record!

[rock-devel] glibc23 error & patch; please review!

ROCK Mailing List Archives

Attachments
Entire message
+ (text/plain)
Author: 
Date:   
To: 
Subject: [rock-devel] glibc23 error & patch; please review!
Building glibc2.3.4-20040501 for an Athlon XP-Desktop target fails in stage 0
with the error:

i686-unknown-linux-gnu-gcc-3 ../sysdeps/i386/i686/memcmp.S -c -I../include
-I.
-I/mnt/root/root/rock/src.glibc23.1085135123.19498.232752003/glibc-2.3.4-2004-05-01/objdir/string
-I.. -I../libio -I/mnt/root/root/rock/src.glibc23.1085135123.
19498.232752003/glibc-2.3.4-2004-05-01/objdir -I../sysdeps/i386/elf
-I../linuxthreads/sysdeps/unix/sysv/linux/i386
-I../linuxthreads/sysdeps/unix/sysv/linux -I.
./linuxthreads/sysdeps/pthread -I../sysdeps/pthread
-I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix
-I../linuxthreads/sysdeps/i386/i686 -I../linuxthreads/sysdeps/i386
-I../sysdeps/unix/sysv/linux/i386 -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../sysdeps/unix/sysv
-I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix
-I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686 -I../sysdeps/i386/i486
-I../sysdeps/i386/fpu -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 -nostdinc
-isystem /mnt/root/root/rock/build/minidesk-2.1.0-DEV-x86-athlon-xp-32-desktop-expert/ROCK/tools.cross/crosscc/../lib/gcc/i686-unkno
wn-linux-gnu/3.4.0/include
-isystem /mnt/root/root/rock/build/minidesk-2.1.0-DEV-x86-athlon-xp-32-desktop-expert/usr/src/linux/include
-D_LIBC_REENTRANT -include ../include/libc-symbols.h -DASSEMBLER
-DGAS_SYNTAX -Wa,--noexecstack
-o /mnt/root/root/rock/src.glibc23.1085135123.19498.232752003/glibc-2.3.4-2004-05-01/objdir/string/memcmp.o
-MD -MP
-MF /mnt/root/root/rock/src.glibc23.1085135123.19498.232752003/glibc-2.3.4-2004-05-01/objdir/string/memcmp.o.dt
../sysdeps/i386/i686/memcmp.S: Assembler messages:
../sysdeps/i386/i686/memcmp.S:390: Error: can't resolve `.rodata' {.rodata
section} - `memcmp' {.text section}
make[2]: ***
[/mnt/root/root/rock/src.glibc23.1085135123.19498.232752003/glibc-2.3.4-2004-05-01/objdir/string/memcmp.o]
Error 1
make[2]: Leaving directory
`/mnt/root/root/rock/src.glibc23.1085135123.19498.232
752003/glibc-2.3.4-2004-05-01/string'
make[1]: *** [string/subdir_lib] Error 2
make[1]: Leaving directory
`/mnt/root/root/rock/src.glibc23.1085135123.19498.232
752003/glibc-2.3.4-2004-05-01'
make: *** [all] Error 2
--- BUILD ERROR ---

I use latest trunk with the additional patches:
smap 2004050220420329825
Rene Rebe:
         updated gcc3 (3.4.0)
         removed gcc34 - we finally need to focus on the leading edge GCC
         series again (to get recent features and support from the gcc folks)
         fixed util-linux and net-tools for gcc-3.4.0
         disabled too broken configs in linux24 for gcc-3.4.0
smap 2004051920202912182
Andreas V. Meier:
         update linux24 with Rene Rebe's gcc34 patch
smap 2004052001514321311
Andreas V. Meier:
         adjust linux24-{header,src} to the new gcc34 fix patch
         update the linux24-header-cross version number to actual

Latest glibc cvs from 2004-05-21 fails the same way. Using gcc 3.2.3 doesn't
help either.
The following patch works around the error:

--- glibc-2.3.4-2004-05-21/sysdeps/i386/i686/memcmp.S 2004-04-02
01:28:37.000000000 +0200
+++ glibc-2.3.4-2004-05-21/sysdeps/i386/i686/memcmp.S.patched 2004-05-21
15:03:29.000000000 +0200
@@ -351,7 +351,6 @@
        popl    %esi
        RETURN

- .section .rodata
        ALIGN (2)
 L(table_32bytes) :
        .long   L(0bytes) - . + 0x0

Yet I do not know why this line causes an error; according to 'info gas' this
should work for ELF output (I assume ELF output is created here).
Will test patched glibc23 sometime next week.

Yours,
Stefan Fiedler
_______________________________________________
rock-devel mailing list

https://www.rocklinux.net/mailman/listinfo/rock-devel