The cross-gcc ports is trying to strip some object while installing. Of course it fails on non-i386 binaries or libs. Fix: $ mv /usr/bin/strip /usr/bin/strip.orig $ cat << EOF > /usr/bin/strip > #!/bin/sh > /usr/bin/strip.orig $@ > return 0 > EOF $ chmod +x /usr/bin/strip $ make TGTARCH=m68k TGTABI=elf install Or use the TGTARCH-TGTABI-strip installed from binutils but I don't know how to fix with this solution. How-To-Repeat: $ cd /usr/ports/devel/cross-gcc $ make TGTARCH=m68k TGTABI=elf install (should repeat for each TGTARCH) .. # install SIM stuff install -s -o root -g wheel -m 555 sim-crt0.o /usr/local/m68k-elf/lib/sim-crt0.o strip: /usr/local/m68k-elf/lib/sim-crt0.o: File format not recognized install: wait: No such file or directory gmake[3]: *** [install_m68k] Error 70 gmake[3]: Leaving directory `/usr/ports/devel/cross-gcc/work/gcc-4.2.3/m68k-elf/libgloss/m68k' gmake[2]: *** [install] Error 2 gmake[2]: Leaving directory `/usr/ports/devel/cross-gcc/work/gcc-4.2.3/m68k-elf/libgloss' gmake[1]: *** [install-target-libgloss] Error 2 gmake[1]: Leaving directory `/usr/ports/devel/cross-gcc/work/gcc-4.2.3' gmake: *** [install] Error 2 *** Error code 2 Stop in /usr/ports/devel/cross-gcc. *** Error code 1 Stop in /usr/ports/devel/cross-gcc.
Responsible Changed From-To: freebsd-ports-bugs->stas Over to maintainer (via the GNATS Auto Assign Tool)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 What build options were you using while building this port? I can't reproduce this problem. Furthermore, it builds successfully on build cluster. Have you performed the full cleanup (make clean) before building this port? There might be problems linked with it. It may be helpfull also to upload the full build log somewhere so I can take a look. Thanks! - -- Stanislav Sedov ST4096-RIPE -----BEGIN PGP SIGNATURE----- iEYEARECAAYFAkk6p20ACgkQK/VZk+smlYGXsQCffsqGDwOUcW+YJfhzRraZ1mhG bQwAn3pLE8xJgO1fW40jj39PcYDw58kJ =plhC -----END PGP SIGNATURE-----
stas 2008-12-06 18:25:36 UTC FreeBSD ports repository Modified files: devel/cross-gcc Makefile Log: - Do not strip target binaries. It causes problems in some cases. PR: ports/128434 Submitted by: Emmanuel Vadot <elbarto@arcadebsd.org> Revision Changes Path 1.10 +1 -0 ports/devel/cross-gcc/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed The fix was committed.