PowerPC snapshot compilation failures

Glauber de Oliveira Costa glommer at br.ibm.com
Sun Sep 25 21:00:56 UTC 2005


On Sat, Sep 24, 2005 at 04:19:02PM +0200, Joakim Tjernlund wrote:
>  
> > 
> > The 2 files (procfs.h and syscalls.h - complete path omitted) 
> > were exactly the same. So, as expected, the errors were also 
> > exactly the same.
> 
> hmm, check your errno.h and syscalls.h files against SVN. They were recently updated and I think
> somehow didn't make it into the snapshot. What is the exact error message?

Ok, will try it. I've just posted the error message to Peter. 
 
> The procfs.h is something else and needs some updating I guess. 
> what kernel header are you compiling against?

linux:~/uClibc # uname -a
Linux linux 2.6.5-7.97-pseries64 #1 SMP Fri Jul 2 14:21:59 UTC 2004
ppc64 ppc64 ppc64 GNU/Linux

>  Jocke
> > 
> > I just tried today (Sep 24) snapshot.
> > 
> > glauber
> > 
> > On Sat, Sep 24, 2005 at 09:00:42AM +0200, Peter S. Mazinger wrote:
> > > On Sat, 24 Sep 2005, Glauber de Oliveira Costa wrote:
> > > 
> > > > Hi all,
> > > > 
> > > > I just tried to compile today's snapshot in a IBM pSeries 
> > box, and 
> > > > it was unsuccessfull. Bellow, there is a summary of the 
> > errors with 
> > > > some comments
> > > > 
> > > > - vfork.S fails to compile. If the line #include 
> > <error.h> is wipped 
> > > > out from libc/sysdeps/linux/powerpc/bits/syscalls.h, everything 
> > > > seems to flow okay. As the intel file does not include this file, 
> > > > I'm assuming that it should not be there anyway.
> > > > 
> > > > - linuxthreads compilation fails. It goes okay if I 
> > comment out the 
> > > > following definitions from 
> > libc/sysdeps/linux/powerpc/sys/procfs.h :
> > > > 
> > > > 	* ELF_NVRREG
> > > > 	* elf_greg_t
> > > > 	* elf_gregset_t
> > > > 	* elf_fpreg_t
> > > > 	* elf_fpregset_t
> > > > 	* elf_vrreg_t
> > > > 	* elf_vrregset_t
> > > > 
> > > > It seems that the ppc kernel defines them in its own way at 
> > > > include/asm/elf.h
> > > > 
> > > > Though it does seems easy #ifdef placement problems, you 
> > guys surely 
> > > > know where to place them better than I do.
> > > > 
> > > > Please, note that it is my first contact to uclibc, so 
> > I'm sorry if 
> > > > I'm saying stupid things at all :-)
> > > > 
> > > > BTW, compilation does not suceed at all, receiving an 
> > error message 
> > > > when compiling shared libraries, but I'm done for today. Just in 
> > > > case it helps somebody, I'm also posting the error message:
> > > > 
> > > > ld  -shared --warn-common --warn-once -z combreloc -z defs -s 
> > > > -soname=libdl.so.0 \ -o libdl-0.9.28.so -fini dl_cleanup 
> > > > --whole-archive libdl_pic.a \ --no-whole-archive 
> > > > ../..//libc/misc/internals/interp.o \ -L../..//lib -lc  
> > > > ../../lib/ld-uClibc.so.0 
> > > > /usr/lib/gcc-lib/powerpc-suse-linux/3.3.3/libgcc.a;
> > > > ld: Error: The symbol `__syscall_error' has a R_PPC_REL24 
> > > > relocation, that means '../..//lib/libc.a(brk.o)' was 
> > compiled without -fPIC.
> > > 
> > > try a newer snapshot, it should fail at least less times
> > > 
> > > Peter
> > > 
> > > -- 
> > > Peter S. Mazinger <ps dot m at gmx dot net>           ID: 0xA5F059F2
> > > Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2
> > > 
> > 
> > --
> > =====================================
> > Glauber de Oliveira Costa
> > IBM Linux Technology Center - Brazil
> > glommer at br.ibm.com
> > =====================================
> > _______________________________________________
> > uClibc mailing list
> > uClibc at uclibc.org
> > http://busybox.net/cgi-bin/mailman/listinfo/uclibc
> > 
> > 
> 

-- 
=====================================
Glauber de Oliveira Costa
IBM Linux Technology Center - Brazil
glommer at br.ibm.com
=====================================



More information about the uClibc mailing list