You are not logged in.
Pages: 1
[root@marduk ~]# cd /var/abs/base/gcc/; makepkg -csi
...
checking for gcc... gcc
checking whether the C compiler (gcc -march=athlon-xp -pipe -mmmx -msse -O3 -mtune ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
make: *** No targets specified and no makefile found. Stop.
==> ERROR: Build Failed. Aborting...
But I've compiled glibc, some other stuff, so gcc should work..
Offline
I have no answer to your issue, however, isn't it poor practice to build your package within the ABS tree itself? As per the wiki, all builds should be made in the /abs/local directory, by copying the contents of the /var/abs/category/pkg directory over to /var/abs/local/pkg. The wiki admonishes quite explicitly to avoid modifying the ABS tree in any way, other than in the /var/abs/local directory...correct me if I am wrong.
I have also heard that the O3 option may make some packages uncompilable.
Offline
Copied PKGBUILD to local, changed to -O2 - still the same.
Offline
Ok, seriuos problem - it seems that I cannot compile anything now. This started to hapen when I compiled glibc and binutils by myself with abs...
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
make: *** No targets specified and no makefile found. Stop.
==> ERROR: Build Failed. Aborting...
config.log: http://pastebin.com/m71925eb0
Any ideas how to fix this?
Offline
Your CFLAGS are incorrect:
CFLAGS='-march=athlon-xp -pipe -mmmx -msse -O3 -mtune'
There's nothing set for mtune.
Offline
Thank you.
Offline
Pages: 1