From owner-freebsd-questions@FreeBSD.ORG Sat May 15 12:50:45 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B83F5106567C for ; Sat, 15 May 2010 12:50:45 +0000 (UTC) (envelope-from dimitar.vassilev@gmail.com) Received: from mail-ew0-f224.google.com (mail-ew0-f224.google.com [209.85.219.224]) by mx1.freebsd.org (Postfix) with ESMTP id 432998FC19 for ; Sat, 15 May 2010 12:50:44 +0000 (UTC) Received: by ewy24 with SMTP id 24so919691ewy.13 for ; Sat, 15 May 2010 05:50:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=whBZT+za1E00CXgRrtZByUKzHWJY3MScKli5sCZGeaA=; b=qE+PJMQLEGRxHDbuCwWyReAZIp313lCEgwNpWIQHKyu8i1s0FIDPWs/QqvcXpkEj3N 3YvN7CCASNQXilaX1ujV5pzgN11UqsiuLUETm0THkj9b95GuVY807AXvDxA3+nu4WNTf f/BdepxKr+I+7wUU8rZhDqIeygGxF5+C5mLtU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=IPUX9C+VXNSzOR1/3fuoDvjReDrpDIW8kDUOeiIndIDh5f6QHvsI03/WH4PBxcXxz1 Nc2ct9GU4mVLeJa7Ha360akddS84MyXWOY4V7q4fFjsstB7tZ9Gcij/XefLd1YCe/RrH Qgrfi4XJ6FVCkBl8Nhd6Li+Do/TlSvcuqIZKI= MIME-Version: 1.0 Received: by 10.213.47.195 with SMTP id o3mr1016623ebf.48.1273927843639; Sat, 15 May 2010 05:50:43 -0700 (PDT) Received: by 10.213.33.67 with HTTP; Sat, 15 May 2010 05:50:43 -0700 (PDT) Date: Sat, 15 May 2010 15:50:43 +0300 Message-ID: From: Dimitar Vassilev To: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 Cc: Subject: 8-STABLE truncated elf file issues after buildworld X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 May 2010 12:50:45 -0000 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 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!