This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: powerpc-linux-gnuspe progress (1)


Hello again...

If you don't mind I will report my progress on my platforms
to get to the e500 compilers.
If you think that nobody is interested, please let me
know and I'll stop.

Currently open questions:

1) Where do I need to create the "spe" directory?

2) Why doesn't it get created automatically?

3) Is it possible to get the linux/includes from the downloaded
kernel sources instead of the host system?

4) Is there a way to get _all_ outputs to a logfile?
... 2>&1 >>logall.log doesn't work.

5) what's the (safe) minimum disk space I need for a successful build?


20050125/17:32
-----8<------------------------------------------------------------------
Host: speedo (P4HT 3.xGHz, 2.6.10)
started with a new setup...
Problem #1:
make[1]: Leaving directory
`/home/clemens/cross/crosstool-0.28-rc37/build/powerpc-linux-gnuspe/gcc-3.4.3-glibc-2.3.3/build-gcc-core/gcc'
+ cd ..
+ test -x
/home/clemens/opt/crosstool/powerpc-linux-gnuspe/gcc-3.4.3-glibc-2.3.3/bin/powerpc-linux-gnuspe-gcc
+ echo Build glibc and linuxthreads
Build glibc and linuxthreads
+ mkdir -p build-glibc
+ cd build-glibc
+ echo
+ test '!' -f Makefile
+ BUILD_CC=gcc
+ CFLAGS=-O
+ CC=powerpc-linux-gnuspe-gcc
+ AR=powerpc-linux-gnuspe-ar
+ RANLIB=powerpc-linux-gnuspe-ranlib
+
/home/clemens/cross/crosstool-0.28-rc37/build/powerpc-linux-gnuspe/gcc-3.4.3-glibc-2.3.3/glibc-2.3.3/configure


--prefix=/usr --build=i686-pc-linux-gnu --host=powerpc-linux-gnuspe
--enable-kernel=2.4.3 --without-cvs --disable-profile --disable-debug
--without-gd --without-tls --without-__thread --enable-shared
--enable-add-ons=linuxthreads,spe
--with-headers=/home/clemens/opt/crosstool/powerpc-linux-gnuspe/gcc-3.4.3-glibc-2.3.3/powerpc-linux-gnuspe/include
configure: error: add-on directory "spe" does not exist

Host: macsilver (PowerMac G4, 2.6.10)
started with a new setup...
Problem #1:
GLIBC doesn't build if LD_LIBRARY_PATH is set... unset it.

Fix: unset LD_LIBRARY_PATH (was used for some Qt stuff)
Suggestion: Check this in the beginning of the scripts to
avoid late breaks. Check if this is in the FAQ or in a readme-something?
Continue:
re-run sh ./demo-e500.sh

Problem #2: (same as above)
configure: error: add-on directory "spe" does not exist



Host: pm854 (MPC8540, 2.6.10)
started with a new setup...
Problem #1:
+ echo 'Building for --target=powerpc-linux-gnuspe, --prefix=/home/clemens/cross
/opt/crosstool/powerpc-linux-gnuspe/gcc-3.4.3-glibc-2.3.3'
Building for --target=powerpc-linux-gnuspe, --prefix=/home/clemens/cross/opt/cro
sstool/powerpc-linux-gnuspe/gcc-3.4.3-glibc-2.3.3
+ echo Prepare kernel headers
Prepare kernel headers
+ cd /home/clemens/cross/crosstool-0.28-rc37/build/powerpc-linux-gnuspe/gcc-3.4.
3-glibc-2.3.3/linux-2.6.9
+ test -f /home/clemens/cross/crosstool-0.28-rc37/powerpc-e500.config
+ cp /home/clemens/cross/crosstool-0.28-rc37/powerpc-e500.config .config
+ test -f .config
+ yes ''
+ make ARCH=ppc oldconfig
HOSTCC scripts/basic/fixdep
In file included from /usr/include/bits/posix1_lim.h:130,
from /usr/include/limits.h:144,
from /usr/lib/gcc-lib/ppc-linux/3.3.3/include/limits.h:122,
from /usr/lib/gcc-lib/ppc-linux/3.3.3/include/syslimits.h:7,
from /usr/lib/gcc-lib/ppc-linux/3.3.3/include/limits.h:11,
from scripts/basic/fixdep.c:113:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
In file included from /usr/include/sys/socket.h:35,
from /usr/include/netinet/in.h:24,
from /usr/include/arpa/inet.h:23,
from scripts/basic/fixdep.c:115:
/usr/include/bits/socket.h:305:24: asm/socket.h: No such file or directory
scripts/basic/fixdep.c: In function `use_config':
scripts/basic/fixdep.c:201: error: `PATH_MAX' undeclared (first use in this func
tion)
scripts/basic/fixdep.c:201: error: (Each undeclared identifier is reported only
once
scripts/basic/fixdep.c:201: error: for each function it appears in.)
scripts/basic/fixdep.c:201: warning: unused variable `s'
scripts/basic/fixdep.c: In function `parse_dep_file':
scripts/basic/fixdep.c:297: error: `PATH_MAX' undeclared (first use in this func
tion)
scripts/basic/fixdep.c:297: warning: unused variable `s'
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2


Fix:
/usr/include/linux symbolic link was broken - fixed
/usr/include/asm symbolic link was broken - fixed
Continue:
re-run sh ./demo-e500.sh

Host: rio (P1 166MHz, 2.6.10)
started with a new setup...
(still working...)

-----8<------------------------------------------------------------------


Clemens Koller _______________________________ R&D Imaging Devices Anagramm GmbH Rupert-Mayer-Str. 45/1 81379 Muenchen Germany

http://www.anagramm.de
Phone: +49-89-741518-50
Fax: +49-89-741518-19



------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]