Date: Sat, 15 May 2010 15:50:43 +0300 From: Dimitar Vassilev <dimitar.vassilev@gmail.com> To: FreeBSD Questions <questions@freebsd.org> Subject: 8-STABLE truncated elf file issues after buildworld Message-ID: <AANLkTiked8_Ug71TSTOBIAsKY0zksc1WdHwgY6HSvQsJ@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hello, I have problems with building 8-STABLE after upgrade. System cannot build any src/ports Here is the culprit: >>> stage 1.1: legacy release compatibility shims -------------------------------------------------------------- cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj/usr/src/tmp INSTALL="sh /usr/src/tools/install.sh" PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/sbin:/bin:/usr/sbin:/usr/bin WORLDTMP=/usr/obj/usr/src/tmp VERSION="FreeBSD 8.0-STABLE i386 800107" MAKEFLAGS="-m /usr/src/tools/build/mk -m /usr/src/share/mk" make -f Makefile.inc1 DESTDIR= BOOTSTRAPPING=800107 SSP_CFLAGS= -DWITHOUT_HTML -DWITHOUT_INFO -DNO_LINT -DWITHOUT_MAN -DNO_PIC -DWITHOUT_PROFILE -DNO_SHARED -DNO_CPU_CFLAGS -DNO_WARNS -DNO_CTF legacy ===> tools/build (obj,includes,depend,all,install) /usr/obj/usr/src/tmp/usr/src/tools/build created for /usr/src/tools/build cd /usr/src/tools/build; make buildincludes; make installincludes rm -f .depend mkdep -f .depend -a -I/usr/obj/usr/src/tmp/legacy/usr/include /usr/src/tools/build/dummy.c cc -O2 -pipe -pipe -funroll-loops -I/usr/obj/usr/src/tmp/legacy/usr/include -c /usr/src/tools/build/dummy.c elf_load_section: truncated ELF file Please submit a full bug report. See <URL:http://gcc.gnu.org/bugs.html> for instructions. *** Error code 1 Stop in /usr/src/tools/build. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 When building a port: configure: error: C compiler cannot create executables System info: netwarrior# gcc -v Using built-in specs. Target: i386-undermydesk-freebsd Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 4.2.1 20070719 [FreeBSD] netwarrior# netwarrior# more /etc/make.conf CFLAGS+=-pipe -funroll-loops # Compare before install INSTALL=install -C # # To build ppp with normal permissions PPP_NOSUID= true # # To enable installing ssh(1) with the setuid bit turned on ENABLE_SUID_SSH= false # # To enable installing newgrp(1) with the setuid bit turned on. # Without the setuid bit, newgrp cannot change users' groups. ENABLE_SUID_NEWGRP= true # NO_PROFILE= true # Avoid compiling profiled libraries # MAKE_IDEA= YES # IDEA (128 bit symmetric encryption) # PRINTERDEVICE=ps # # # SUP_UPDATE= yes # SUP= /usr/local/bin/cvsup SUPFLAGS= -g -L 2 SUPHOST= cvsup.bg.freebsd.org SUPFILE= /root/stable-supfile PORTSSUPFILE= /root/ports-supfile #DOCSUPFILE= /usr/local/etc/cvsup/sup/doc-supfile # DOC_LANG= en_US.ISO8859-1 # # DISABLE_SIZE=yes # ##FETCH_CMD=/usr/local/bin/wget # MASTER_SITE_OVERRIDE?= ftp://ftp.bg.freebsd.org/pub/FreeBSD/ports/distfiles/ \ ftp://ftp.bg.freebsd.org/pub/FreeBSD/ports/local-distfiles/ \ # DISABLE_VULNERABILITIES=no # WITH_SETUID_LUIT=yes # ALWAYS_CHECK_MAKE=yes KERNCONF=FYUT2 OVERRIDE_LINUX_BASE_PORT=f10 OVERRIDE_LINUX_NONBASE_PORTS=f10 # added by use.perl 2010-05-09 06:18:24 PERL_VERSION=5.10.1 ident FYUT_DSK include GENERIC #nooptions SCHED_4BSD options SCHED_ULE options GEOM_JOURNAL #options VM_KMEM_SIZE="(1024 * 1024 * 1024)" #options VM_KMEM_SIZE_MAX="(1024 * 1024 * 1024)" options ALTQ options ALTQ_CBQ options ALTQ_RED options ALTQ_RIO options ALTQ_HFSC options ALTQ_CDNR options ALTQ_PRIQ options ALTQ_DEBUG # options DEVICE_POLLING options ZERO_COPY_SOCKETS options HZ=1000 # device pf device pflog #logging support interface for PF device pfsync #synchronization interface for PF device carp #Common Address Redundancy Protocol # options PERFMON # # PCCARD (PCMCIA) support # PCMCIA and cardbus bridge support device cbb # cardbus (yenta) bridge device pccard # PC Card (16-bit) bus device cardbus # CardBus (32-bit) bus # Serial (COM) ports #device sio # 8250, 16[45]50 based serial ports # Parallel port device ppc device ppbus # Parallel port bus (required) device lpt # Printer device plip # TCP/IP over parallel device ppi # Parallel port interface device #device vpo # Requires scbus and da # Wireless NIC cards device wlan # 802.11 support # #extended wi-fi ciphers # device wlan_wep device wlan_tkip device wlan_ccmp device wlan_acl device wlan_xauth # #intel wireless support device iwi device ath device ath_hal device ath_rate_sample # # # maxusers 500 # #options for TCP SIGNATURES # options IPSEC options IPSEC_NAT_T options TCP_SIGNATURE device crypto device cryptodev # #multicast routing # options MROUTING # options IPSTEALTH # options ZERO_COPY_SOCKETS # #samba # options NETSMB options LIBMCHAIN option SMBFS options LIBICONV # device daemon_saver device fire_saver device rain_saver # # options QUOTA # options HZ=1000 # #NTFS & DOS # options NTFS options NTFS_ICONV options VFS_AIO options MSDOSFS # options UDF options HPFS # # # device atapicam # options DEVICE_POLLING # device drm device i915drm device ucom device ucycom device uplcom # device acpi # device acpi_ibm device acpi_video device firmware # # device sound device snd_hda #2 Invoking ssh chokes with: netwarrior# ssh /libexec/ld-elf.so.1: Undefined symbol "ssh_compat13" referenced from COPY relocation in /usr/bin/ssh I did upgrade from 7.2-stable in the following way: 1.pkg_delete -fa 2. cvsup 3. make buildworld 3.make buildkernel 4. make installkernel 5.reboot && mergemaster 6. make installworld Could someone advise what's the best way to overcome this? Thank you!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTiked8_Ug71TSTOBIAsKY0zksc1WdHwgY6HSvQsJ>