From owner-freebsd-questions@FreeBSD.ORG Sat Dec 5 04:44:24 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C7D83106566B for ; Sat, 5 Dec 2009 04:44:24 +0000 (UTC) (envelope-from freebsd@akruijff.dds.nl) Received: from CPSMTPM-EML109.kpnxchange.com (Cpsmtpm-eml109.kpnxchange.com [195.121.3.13]) by mx1.freebsd.org (Postfix) with ESMTP id 2D72D8FC0C for ; Sat, 5 Dec 2009 04:44:23 +0000 (UTC) Received: from ip51cc8423.speed.planet.nl ([81.204.132.35]) by CPSMTPM-EML109.kpnxchange.com with Microsoft SMTPSVC(7.0.6001.18000); Sat, 5 Dec 2009 05:44:21 +0100 Received: from Alex1.lan (localhost [127.0.0.1]) by ip51cc8423.speed.planet.nl (8.14.2/8.14.2) with ESMTP id nB54iL51011448 for ; Sat, 5 Dec 2009 05:44:21 +0100 (CET) (envelope-from freebsd@akruijff.dds.nl) Received: (from akruijff@localhost) by Alex1.lan (8.14.2/8.14.2/Submit) id nB54iL4b011447 for freebsd-questions@freebsd.org; Sat, 5 Dec 2009 05:44:21 +0100 (CET) (envelope-from freebsd@akruijff.dds.nl) X-Authentication-Warning: Alex1.lan: akruijff set sender to freebsd@akruijff.dds.nl using -f Date: Sat, 5 Dec 2009 05:44:21 +0100 From: Alex de Kruijff To: freebsd-questions@freebsd.org Message-ID: <20091205044421.GA11032@Alex1.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-OriginalArrivalTime: 05 Dec 2009 04:44:21.0827 (UTC) FILETIME=[9CEAF130:01CA7565] Subject: Upgrade problem 6.1 -> 6.4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@akruijff.dds.nl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Dec 2009 04:44:24 -0000 I wanted to upgrade to 8.0 to take advantage of the USB code. I've run in to a compile problem going grom 6.1 to 6.2.0. I've copied sys/dev/twa from 7.0 in to the source of 6.2. Without this source it will not boot. # uname -a FreeBSD Server1.lan 6.1-RELEASE-p20 FreeBSD 6.1-RELEASE-p20 #0: Wed Nov 14 02:07:49 CET 2007 akruijff@Server1.lan:/temp/obj/temp/src/sys/SERVER-SMP i386 # 'make buildworld' gives me: -------------------------------------------------------------- >>> stage 1.2: bootstrap tools -------------------------------------------------------------- (...) c++ -O2 -fno-strict-aliasing -pipe -I/usr/obj/temp/src/tmp/legacy/usr/include -I/temp/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib -I/temp/src/gnu/usr.bin/gperf -static -L/usr/obj/temp/src/tmp/legacy/usr/lib -o gperf bool-array.o gen-perf.o hash-table.o iterator.o key-list.o list-node.o main.o new.o options.o read-line.o trace.o vectors.o version.o hash.o -legacy gen-perf.o(.text+0x12f): In function `Gen_Perf::Gen_Perf()': : undefined reference to `_Unwind_Resume' : undefined reference to `_Unwind_Resume' gen-perf.o(.text+0xb8b): In function `Gen_Perf::~Gen_Perf()': : undefined reference to `_Unwind_Resume' gen-perf.o(.text+0xc53): In function `Gen_Perf::~Gen_Perf()': : undefined reference to `_Unwind_Resume' key-list.o(.text+0x583): In function `parse_line(char const*, char const*)': : undefined reference to `_Unwind_Resume' key-list.o(.text+0xb8e): more undefined references to `_Unwind_Resume' follow /usr/lib/libstdc++.a(eh_personality.o)(.text._Z21base_of_encoded_valuehP15_Unwind_Context+0x4a): In function `base_of_encoded_value(unsigned char, _Unwind_Context*)': : undefined reference to `_Unwind_GetRegionStart' /usr/lib/libstdc++.a(eh_personality.o)(.text._Z21base_of_encoded_valuehP15_Unwind_Context+0x55): In function `base_of_encoded_value(unsigned char, _Unwind_Context*)': : undefined reference to `_Unwind_GetTextRelBase' /usr/lib/libstdc++.a(eh_personality.o)(.text._Z21base_of_encoded_valuehP15_Unwind_Context+0x5f): In function `base_of_encoded_value(unsigned char, _Unwind_Context*)': : undefined reference to `_Unwind_GetDataRelBase' /usr/lib/libstdc++.a(eh_personality.o)(.text._Z17parse_lsda_headerP15_Unwind_ContextPKhP16lsda_header_info+0x19): In function `parse_lsda_header(_Unwind_Context*, unsigned char const*, lsda_header_info*)': : undefined reference to `_Unwind_GetRegionStart' /usr/lib/libstdc++.a(eh_personality.o)(.text.__cxa_call_unexpected+0xc5): In function `__cxa_call_unexpected': : undefined reference to `_Unwind_Resume' /usr/lib/libstdc++.a(eh_personality.o)(.text.__gxx_personality_v0+0x60): In function `__gxx_personality_v0': : undefined reference to `_Unwind_GetLanguageSpecificData' /usr/lib/libstdc++.a(eh_personality.o)(.text.__gxx_personality_v0+0x97): In function `__gxx_personality_v0': : undefined reference to `_Unwind_GetIP' /usr/lib/libstdc++.a(eh_personality.o)(.text.__gxx_personality_v0+0x205): In function `__gxx_personality_v0': : undefined reference to `_Unwind_SetGR' /usr/lib/libstdc++.a(eh_personality.o)(.text.__gxx_personality_v0+0x21c): In function `__gxx_personality_v0': : undefined reference to `_Unwind_SetGR' /usr/lib/libstdc++.a(eh_personality.o)(.text.__gxx_personality_v0+0x22e): In function `__gxx_personality_v0': : undefined reference to `_Unwind_SetIP' /usr/lib/libstdc++.a(eh_personality.o)(.text.__gxx_personality_v0+0x3b4): In function `__gxx_personality_v0': : undefined reference to `_Unwind_Resume' /usr/lib/libstdc++.a(new_opv.o)(.text._Znaj+0x21): In function `operator new[](unsigned int)': : undefined reference to `_Unwind_Resume' /usr/lib/libstdc++.a(eh_catch.o)(.text.__cxa_end_catch+0x50): In function `__cxa_end_catch': : undefined reference to `_Unwind_DeleteException' /usr/lib/libstdc++.a(eh_catch.o)(.text.__cxa_end_catch+0x7c): In function `__cxa_end_catch': : undefined reference to `_Unwind_DeleteException' /usr/lib/libstdc++.a(eh_catch.o)(.text.__cxa_begin_catch+0x96): In function `__cxa_begin_catch': : undefined reference to `_Unwind_Resume' /usr/lib/libstdc++.a(eh_alloc.o)(.text.__cxa_free_exception+0x278): In function `__cxa_free_exception': : undefined reference to `_Unwind_Resume' /usr/lib/libstdc++.a(eh_alloc.o)(.text.__cxa_allocate_exception+0x2b4): In function `__cxa_allocate_exception': : undefined reference to `_Unwind_Resume' /usr/lib/libstdc++.a(eh_throw.o)(.text.__cxa_rethrow+0x37): In function `__cxa_rethrow': : undefined reference to `_Unwind_Resume_or_Rethrow' /usr/lib/libstdc++.a(eh_throw.o)(.text.__cxa_throw+0x45): In function `__cxa_throw': : undefined reference to `_Unwind_RaiseException' /usr/lib/libstdc++.a(eh_terminate.o)(.text._ZN10__cxxabiv111__terminateEPFvvE+0x27): In function `__cxxabiv1::__terminate(void (*)())': : undefined reference to `_Unwind_Resume' /usr/lib/libstdc++.a(vterminate.o)(.text._ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x1b7): In function `__gnu_cxx::__verbose_terminate_handler()': : undefined reference to `_Unwind_Resume' *** Error code 1 Stop in /temp/src/gnu/usr.bin/gperf. *** Error code 1 Stop in /temp/src. *** Error code 1 Stop in /temp/src. *** Error code 1 I"m clueless at this point, any help would be much appreciated. -- Alex