Compiling glibc rpms for NPTL archs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am trying to compile glibc-2.3.2-11.9 rpms with support for NPTL.

uname -a for my compile box (i386 arch): Linux mars 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686 i686 i386 GNU/Linux

When I compiled the glibc with the original spec file, the generated glibc does not have support for NPTL because, I guess, i386 was not in the nptlarches define of the spec file.

I added i386 to nptlarches line of the original spec file (gzipped glibc-9.spec attached).

Started the rpm build process: rpmbuild -ba -vv glibc-9.spec 2>&1 | tee glibc-9.log

The compilation failed (the gzipped log file of the rpm build proceess glibc-9.log attached).

At the end the last few statements were:

...
...
...
> /usr/src/redhat/BUILD/glibc-2.3.2-20030313/build-i386-linuxnptl/stamp.oS
make -s -C csu subdir_lib
make[2]: Entering directory `/usr/src/redhat/BUILD/glibc-2.3.2-20030313/csu'
mkdir /usr/src/redhat/BUILD/glibc-2.3.2-20030313/build-i386-linuxnptl/csu
In file included from ../sysdeps/generic/libc-start.c:43:
../nptl/atomic.h:25:25: bits/atomic.h: No such file or directory
make[2]: Leaving directory `/usr/src/redhat/BUILD/glibc-2.3.2-20030313/csu'
make[2]: Entering directory `/usr/src/redhat/BUILD/glibc-2.3.2-20030313/csu'
In file included from ../sysdeps/generic/libc-start.c:43:
../nptl/atomic.h:25:25: bits/atomic.h: No such file or directory
../sysdeps/generic/libc-start.c: In function `__libc_start_main':
../sysdeps/generic/libc-start.c:168: warning: implicit declaration of function `__arch_compare_and_exchange_32_acq'
../sysdeps/generic/libc-start.c:168: warning: implicit declaration of function `__arch_compare_and_exchange_8_acq'
../sysdeps/generic/libc-start.c:168: warning: implicit declaration of function `__arch_compare_and_exchange_16_acq'
../sysdeps/generic/libc-start.c:168: warning: implicit declaration of function `__arch_compare_and_exchange_64_acq'
make[2]: *** [/usr/src/redhat/BUILD/glibc-2.3.2-20030313/build-i386-linuxnptl/csu/libc-start.o] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/glibc-2.3.2-20030313/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/glibc-2.3.2-20030313'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.18245 (%install)



RPM build errors: Bad exit status from /var/tmp/rpm-tmp.18245 (%install)


Is this the right way to go about building glibc with NPTL support?
Do I need any other packages installed before I start off with this?
Do I need any other patches besides the one that came with the original glibc SRPM?


Thank you,
Ashwani


-- Shrike-list mailing list Shrike-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux