powerpc NPTL port

Rob Landley rob at landley.net
Sun May 9 00:13:39 UTC 2010


On Saturday 08 May 2010 18:15:42 Khem Raj wrote:
> On (08/05/10 17:36), Rob Landley wrote:
> > # Plug in your .config
> >
> > wget http://uclibc.org/~kraj/config.nptl.ppc \
> >   -O sources/targets/powerpc/miniconfig-alt-uClibc
> >
> > And it went:
> >
> > --2010-05-08 17:32:07--  http://uclibc.org/~kraj/config.nptl.ppc
> > Resolving uclibc.org... 140.211.167.224
> > Connecting to uclibc.org|140.211.167.224|:80... connected.
> > HTTP request sent, awaiting response... 403 Forbidden
> > 2010-05-08 17:32:07 ERROR 403: Forbidden.
> >
> > Wanna fix that?
>
> hmmm permission problem. Fixed now. Retry please.

Yup.

> > In theory the next steps would be:
> >
> > USE_UNSTABLE=uClibc ./build.sh powerpc
> > cd build/system-image-powerpc
> > ./run-emulator.sh
> >
> > And that should boot up a virtual powerpc system under QEMU using the
> > snapshot of the current -git version, with your patches.  And there would
> > be a native development toolchain in there that builds stuff against
> > current -git, too.
>
> cool stuff. Let me know how it goes.

  CC libpthread/nptl/sysdeps/powerpc/tcb-offsets.s
cc1: error: unrecognized command line option "-Wold-style-declaration"
make: *** [libpthread/nptl/sysdeps/powerpc/tcb-offsets.s] Error 1

Doesn't like gcc 4.2.1 looks like.  (The last GPLv2 release, I haven't moved 
to an alternative yet.)

Commenting out that line...

And this time it died with:

  HOSTCC utils/getconf.host
../utils/getconf.c:1025: error: '_SC_V7_ILP32_OFF32' undeclared here (not in a 
function)
../utils/getconf.c:1026: error: '_SC_V7_ILP32_OFFBIG' undeclared here (not in 
a function)
../utils/getconf.c:1027: error: '_SC_V7_LP64_OFF64' undeclared here (not in a 
function)
../utils/getconf.c:1028: error: '_SC_V7_LPBIG_OFFBIG' undeclared here (not in 
a function)
../utils/getconf.c: In function 'main':
../utils/getconf.c:1130: error: 'GETCONF_DIR' undeclared (first use in this 
function)
../utils/getconf.c:1130: error: (Each undeclared identifier is reported only 
once
../utils/getconf.c:1130: error: for each function it appears in.)
../utils/getconf.c:1130: warning: pointer type mismatch in conditional 
expression
../utils/getconf.c:1157: warning: implicit declaration of function 'mempcpy'
../utils/getconf.c:1157: warning: incompatible implicit declaration of built-
in function 'mempcpy'
../utils/getconf.c:1220: warning: incompatible implicit declaration of built-
in function 'mempcpy'
make[1]: *** [../utils/getconf.host] Error 1
make: *** [hostutils] Error 2

Any ideas?

Rob
-- 
Latency is more important than throughput. It's that simple. - Linus Torvalds


More information about the uClibc mailing list