Gentoo Archives: gentoo-ppc-dev

From: boris <boris@×××××××××××××.de>
To: gentoo-ppc-dev@l.g.o
Subject: [gentoo-ppc-dev] Install Problems: xfce, unzip, aof, libvorbis on ppc64 ...
Date: Mon, 26 Jul 2004 15:56:42
Message-Id: 20040726154815.GA28046@macbeth.rhoen.de
Hello ...

Last weekend I tried to install gentoo ppc64 on my dual PPC970 (PMac)...
This is the first time I used gentoo ... (so excuse me if this is some
stupid configuration error or something) ... and I have _some_ problems ...

Here some of my make.conf options:
FLAGS=3D"-O2 -maltivec -mabi=3Daltivec"
CHOST=3D"powerpc64-unknown-linux-gnu"
MAKEOPTS=3D"-j5"
ACCEPT_KEYWORDS=3D"~ppc64 ppc64 ~ppc ppc"

>>> Unpacking unzip550.tar.gz to /var/tmp/portage/unzip-5.50-r2/work
[cut cut] NOTE: use linux_noasm target for non-Intel Linux compiles. make unzips CC=3Dgcc LD=3Dgcc AS=3Dgcc\ CF=3D"-O2 -maltivec -mabi=3Daltivec -Wall -I. -DASM_CRC "\ AF=3D"-Di386 " CRC32=3Dcrc_gcc make[1]: Entering directory /var/tmp/portage/unzip-5.50-r2/work/unzip-5.50' gcc -c -O2 -maltivec -mabi=3Daltivec -Wall -I. -DASM_CRC unzip.c gcc -Di386 -x assembler-with-cpp -c -o crc_gcc.o crc_i386.S gcc -c -O2 -maltivec -mabi=3Daltivec -Wall -I. -DASM_CRC crctab.c gcc -c -O2 -maltivec -mabi=3Daltivec -Wall -I. -DASM_CRC crypt.c gcc -c -O2 -maltivec -mabi=3Daltivec -Wall -I. -DASM_CRC envargs.c crc_i386.S: Assembler messages: crc_i386.S:138: Error: Unrecognized opcode: pushl [cut cut] This looks like gcc tries to compile some x86 assembler ... when I start make generic manually (gcc ... crc32.c) everything works fine ...
>>> Unpacking libvorbis-1.0.1.tar.gz to /var/tmp/portage/libvorbis-1.0.1-r2=
/work [cut cut] checking for C compiler default output file name... configure: error: C com= piler cannot See =03onfig.log' for more details. [cut cut] cat Config.log: configure:2197: gcc -O2 -maltivec -mabi=3Daltivec -mno-sse2 -fPIC -fPIC c= onftest.c >&5 cc1: error: invalid option no-sse2 =20 Ok here: When I remove the -mno-sse2 it compiles without error ...
>>> Unpacking oaf-0.6.10.tar.bz2 to /var/tmp/portage/oaf-0.6.10/work
[cut cut] UNAME_MACHINE =3D ppc64 UNAME_RELEASE =3D 2.6.6-r0-G5 UNAME_SYSTEM =3D Linux UNAME_VERSION =3D #1 SMP Sat May 29 21:23:39 UTC 2004 configure: error: cannot guess build type; you must specify one No idea ...
>>> Unpacking xfce-3.8.18.tar.gz to /var/tmp/portage/xfce-3.8.18-r2/work
[cut cut] if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/us -c -o taskbar.o =14est -f 'taskbar.c' || echo './taskbar.c; \ then mv ".deps/taskbar.Tpo" ".deps/taskbar.Po"; \ else rm -f ".deps/taskbar.Tpo"; exit 1; \ fi taskbar.c: In function taskbar_add_task_widget': [cut cut] taskbar.c:1700: error: label at end of compound statement make[2]: *** [taskbar.o] Error 1 make[2]: Leaving directory /var/tmp/portage/xfce-3.8.18-r2/work/xfce-3.8.18/xfce' Some problem with the new compiler (gcc-3.4.1 gcc-3.4.0) ? mfg boris -- gentoo-ppc-dev@g.o mailing list