Error building Generic Build - Compiling Glibc on trunk

View: New views
2 Messages — Rating Filter:   Alert me  

Error building Generic Build - Compiling Glibc on trunk

by Sree-7 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi T2,
I am trying to build a Generic System with minimal build with no optimizations enabled on the T2 Trunk

Everytime I get stuck on this error . I am currently using Ubuntu 8.04 as my server

Can you throw some light on this please

:/home/bagside/t2-trunk/src.glibc.default.20080406.183556.6432.bagvapp/glibc-2.6.1/objdir/rt:/home/bagside/t2-trunk/src.glibc.default.20080406.183556.6432.bagvapp/glibc-2.6.1/objdir/resolv:/home/bagside/t2-trunk/src.glibc.default.20080406.183556.6432.bagvapp/glibc-2.6.1/objdir/crypt:/home/bagside/t2-trunk/src.glibc.default.20080406.183556.6432.bagvapp/glibc-2.6.1/objdir/nptl -o /home/bagside/t2-trunk/src.glibc.default.20080406.183556.6432.bagvapp/glibc-2.6.1/objdir/libc.so -T /home/bagside/t2-trunk/src.glibc.default.20080406.183556.6432.bagvapp/glibc-2.6.1/objdir/shlib.lds /home/bagside/t2-trunk/src.glibc.default.20080406.183556.6432.bagvapp/glibc-2.6.1/objdir/csu/abi-note.o /home/bagside/t2-trunk/src.glibc.default.20080406.183556.6432.bagvapp/glibc-2.6.1/objdir/elf/soinit.os /home/bagside/t2-trunk/src.glibc.default.20080406.183556.6432.bagvapp/glibc-2.6.1/objdir/libc_pic.os /home/bagside/t2-trunk/src.glibc.default.20080406.183556.6432.bagvapp/glibc-2.6.1/objdir/elf/sofini.os /home/bagside/t2-trunk/src.glibc.default.20080406.183556.6432.bagvapp/glibc-2.6.1/objdir/elf/interp.os /home/bagside/t2-trunk/src.glibc.default.20080406.183556.6432.bagvapp/glibc-2.6.1/objdir/elf/ld.so -lgcc
/home/bagside/t2-trunk/src.glibc.default.20080406.183556.6432.bagvapp/glibc-2.6.1/objdir/libc_pic.os: In function `__fork':
(.text+0x761af): undefined reference to `__sync_bool_compare_and_swap_4'
/home/bagside/t2-trunk/src.glibc.default.20080406.183556.6432.bagvapp/glibc-2.6.1/objdir/libc_pic.os: In function `.L4':
(.text+0xd8c5e): undefined reference to `__sync_fetch_and_add_4'
/home/bagside/t2-trunk/src.glibc.default.20080406.183556.6432.bagvapp/glibc-2.6.1/objdir/libc_pic.os: In function `.L4':
(.text+0xd8ca2): undefined reference to `__sync_fetch_and_add_4'
/home/bagside/t2-trunk/src.glibc.default.20080406.183556.6432.bagvapp/glibc-2.6.1/objdir/libc_pic.os: In function `__nscd_getpwnam_r':
(.text+0xd90bd): undefined reference to `__sync_fetch_and_add_4'
/home/bagside/t2-trunk/src.glibc.default.20080406.183556.6432.bagvapp/glibc-2.6.1/objdir/libc_pic.os: In function `__nscd_getpwnam_r':
(.text+0xd9104): undefined reference to `__sync_fetch_and_add_4'
/home/bagside/t2-trunk/src.glibc.default.20080406.183556.6432.bagvapp/glibc-2.6.1/objdir/libc_pic.os: In function `__nscd_getgrnam_r':
(.text+0xd9704): undefined reference to `__sync_fetch_and_add_4'
/home/bagside/t2-trunk/src.glibc.default.20080406.183556.6432.bagvapp/glibc-2.6.1/objdir/libc_pic.os:(.text+0xd974b): more undefined references to `__sync_fetch_and_add_4' follow
/home/bagside/t2-trunk/src.glibc.default.20080406.183556.6432.bagvapp/glibc-2.6.1/objdir/libc_pic.os: In function `__nscd_get_map_ref':
(.text+0xdb610): undefined reference to `__sync_val_compare_and_swap_4'
/home/bagside/t2-trunk/src.glibc.default.20080406.183556.6432.bagvapp/glibc-2.6.1/objdir/libc_pic.os: In function `__GI___libc_freeres':
(__libc_freeres_fn+0x81e): undefined reference to `__sync_bool_compare_and_swap_4'
collect2: ld returned 1 exit status
make[1]: *** [/home/bagside/t2-trunk/src.glibc.default.20080406.183556.6432.bagvapp/glibc-2.6.1/objdir/libc.so] Error 1
make[1]: Leaving directory `/home/bagside/t2-trunk/src.glibc.default.20080406.183556.6432.bagvapp/glibc-2.6.1'
make: *** [all] Error 2
Due to previous errors, no 1-glibc.log file!
(Try enabling xtrace in the config to track an error inside the build system.)
--- BUILD ERROR ---
Install SysV Init script 'nscd' (19/81):  rcX done.
Creating file list and doing final adaptions ...
Searching for orphaned files ...
Found 8 files for this package.
Found 1 orphaned files for this package.
Clear (old) md5sums ...
Creating md5sum files ... done.
Creating package description ...
Making post-install adaptions.
Found shared files with other packages:
etc/rc.d/rcX.d/X19nscd: eglibc glibc
sbin/init.d/nscd: eglibc glibc
Due to previous errors.
--- BUILD ERROR ---
-> $root/var/adm/logs/1-glibc.out -> 1-glibc.err
== 04/06/08 18:52:04 =[1]=> Aborted building package glibc.
./scripts/Build-Target: line 295: 31071 Segmentation fault      tee -a "${build_logs}/build_target_$$.log"
-> Unmounting loop mounts ...

-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
lists@... with a subject of: unsubscribe t2

Fwd: Error building Generic Build - Compiling Glibc on trunk

by Sree-7 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



---------- Forwarded message ----------
From: Sree <sreechander@...>
Date: Sun, Apr 6, 2008 at 11:08 AM
Subject: Error building Generic Build - Compiling Glibc on trunk
To: t2@...


Hi T2,
I am trying to build a Generic System with minimal build with no optimizations enabled on the T2 Trunk

Everytime I get stuck on this error . I am currently using Ubuntu 8.04 as my server

Can you throw some light on this please

:/home/bagside/t2-trunk/src.glibc.default.20080406.183556.6432.bagvapp/glibc-2.6.1/objdir/rt:/home/bagside/t2-trunk/src.glibc.default.20080406.183556.6432.bagvapp/glibc-2.6.1/objdir/resolv:/home/bagside/t2-trunk/src.glibc.default.20080406.183556.6432.bagvapp/glibc-2.6.1/objdir/crypt:/home/bagside/t2-trunk/src.glibc.default.20080406.183556.6432.bagvapp/glibc-2.6.1/objdir/nptl -o /home/bagside/t2-trunk/src.glibc.default.20080406.183556.6432.bagvapp/glibc-2.6.1/objdir/libc.so -T /home/bagside/t2-trunk/src.glibc.default.20080406.183556.6432.bagvapp/glibc-2.6.1/objdir/shlib.lds /home/bagside/t2-trunk/src.glibc.default.20080406.183556.6432.bagvapp/glibc-2.6.1/objdir/csu/abi-note.o /home/bagside/t2-trunk/src.glibc.default.20080406.183556.6432.bagvapp/glibc-2.6.1/objdir/elf/soinit.os /home/bagside/t2-trunk/src.glibc.default.20080406.183556.6432.bagvapp/glibc-2.6.1/objdir/libc_pic.os /home/bagside/t2-trunk/src.glibc.default.20080406.183556.6432.bagvapp/glibc-2.6.1/objdir/elf/sofini.os /home/bagside/t2-trunk/src.glibc.default.20080406.183556.6432.bagvapp/glibc-2.6.1/objdir/elf/interp.os /home/bagside/t2-trunk/src.glibc.default.20080406.183556.6432.bagvapp/glibc-2.6.1/objdir/elf/ld.so -lgcc
/home/bagside/t2-trunk/src.glibc.default.20080406.183556.6432.bagvapp/glibc-2.6.1/objdir/libc_pic.os: In function `__fork':
(.text+0x761af): undefined reference to `__sync_bool_compare_and_swap_4'
/home/bagside/t2-trunk/src.glibc.default.20080406.183556.6432.bagvapp/glibc-2.6.1/objdir/libc_pic.os: In function `.L4':
(.text+0xd8c5e): undefined reference to `__sync_fetch_and_add_4'
/home/bagside/t2-trunk/src.glibc.default.20080406.183556.6432.bagvapp/glibc-2.6.1/objdir/libc_pic.os: In function `.L4':
(.text+0xd8ca2): undefined reference to `__sync_fetch_and_add_4'
/home/bagside/t2-trunk/src.glibc.default.20080406.183556.6432.bagvapp/glibc-2.6.1/objdir/libc_pic.os: In function `__nscd_getpwnam_r':
(.text+0xd90bd): undefined reference to `__sync_fetch_and_add_4'
/home/bagside/t2-trunk/src.glibc.default.20080406.183556.6432.bagvapp/glibc-2.6.1/objdir/libc_pic.os: In function `__nscd_getpwnam_r':
(.text+0xd9104): undefined reference to `__sync_fetch_and_add_4'
/home/bagside/t2-trunk/src.glibc.default.20080406.183556.6432.bagvapp/glibc-2.6.1/objdir/libc_pic.os: In function `__nscd_getgrnam_r':
(.text+0xd9704): undefined reference to `__sync_fetch_and_add_4'
/home/bagside/t2-trunk/src.glibc.default.20080406.183556.6432.bagvapp/glibc-2.6.1/objdir/libc_pic.os:(.text+0xd974b): more undefined references to `__sync_fetch_and_add_4' follow
/home/bagside/t2-trunk/src.glibc.default.20080406.183556.6432.bagvapp/glibc-2.6.1/objdir/libc_pic.os: In function `__nscd_get_map_ref':
(.text+0xdb610): undefined reference to `__sync_val_compare_and_swap_4'
/home/bagside/t2-trunk/src.glibc.default.20080406.183556.6432.bagvapp/glibc-2.6.1/objdir/libc_pic.os: In function `__GI___libc_freeres':
(__libc_freeres_fn+0x81e): undefined reference to `__sync_bool_compare_and_swap_4'
collect2: ld returned 1 exit status
make[1]: *** [/home/bagside/t2-trunk/src.glibc.default.20080406.183556.6432.bagvapp/glibc-2.6.1/objdir/libc.so] Error 1
make[1]: Leaving directory `/home/bagside/t2-trunk/src.glibc.default.20080406.183556.6432.bagvapp/glibc-2.6.1'
make: *** [all] Error 2
Due to previous errors, no 1-glibc.log file!
(Try enabling xtrace in the config to track an error inside the build system.)
--- BUILD ERROR ---
Install SysV Init script 'nscd' (19/81):  rcX done.
Creating file list and doing final adaptions ...
Searching for orphaned files ...
Found 8 files for this package.
Found 1 orphaned files for this package.
Clear (old) md5sums ...
Creating md5sum files ... done.
Creating package description ...
Making post-install adaptions.
Found shared files with other packages:
etc/rc.d/rcX.d/X19nscd: eglibc glibc
sbin/init.d/nscd: eglibc glibc
Due to previous errors.
--- BUILD ERROR ---
-> $root/var/adm/logs/1-glibc.out -> 1-glibc.err
== 04/06/08 18:52:04 =[1]=> Aborted building package glibc.
./scripts/Build-Target: line 295: 31071 Segmentation fault      tee -a "${build_logs}/build_target_$$.log"
-> Unmounting loop mounts ...


-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
lists@... with a subject of: unsubscribe t2