Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Dec 2009 05:44:21 +0100
From:      Alex de Kruijff <freebsd@akruijff.dds.nl>
To:        freebsd-questions@freebsd.org
Subject:   Upgrade problem 6.1 -> 6.4
Message-ID:  <20091205044421.GA11032@Alex1.lan>

next in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091205044421.GA11032>