buildworld (3.4) aborts during compile of libstdc++.so.9

Ralf Folkerts ralf.folkerts at gmx.de
Wed May 1 02:18:25 PDT 2013


Hi,

I wanted to update my DFly 3.2 System to 3.4. I first moved to the
DragonFly_RELEASE_3_4 Branch, cleaned /usr/obj and issued a make
buildworld. It aborted during compilation of libstdc++.so.9. Then I
cleaned /usr/src and /usr/obj and checked-out the DragonFly_RELEASE_3_4
Branch anew. However, same error (also tried using sh instead of tcsh,
but same error, too). Finally I removed /usr/src and started from
scratch - same error. As bw seems to work for others I must have a made
a big mistake - but didn't find that, yet :(

When googling for that error I found:

http://lists.dragonflybsd.org/pipermail/users/2013-March/053213.html

However, as I even "rm -rf" /usr/src and /usr/obj on my later trials and
started with a real new /usr/src (using the sequence found in
/usr/Makefile for the src-create-repo and src-create Targets, modified
for 3.4)

git init
git remote add origin git://git.dragonflybsd.org/dragonfly.git
git fetch origin
git branch master origin/master
git branch DragonFly_RELEASE_3_4 origin/DragonFly_RELEASE_3_4
git checkout DragonFly_RELEASE_3_4
git pull

I hope that /usr/src should be OK?!

Does anyone have a hint?

MTIA!
Cheers.
_ralf_


uname -a
DragonFly xxx 3.2-RELEASE DragonFly v3.2.2-RELEASE #0: Sun Dec 16
13:26:10 PST 2012    
root at pkgbox64.dragonflybsd.org:/usr/obj/build/home/justin/src/sys/X86_64_GENERIC 
x86_64

/etc/make.conf
CPUTYPE?=athlon64
CFLAGS= -O2 -pipe


building shared library libstdc++.so.9
make: ignoring stale .depend for
/usr/obj/usr/src/world_x86_64/usr/lib/libm.a
rm -f libstdc++.so.9 libstdc++.so
ln -fs libstdc++.so.9 libstdc++.so
cc  -shared -Wl,-x  -o libstdc++.so.9 -Wl,-soname,libstdc++.so.9 
`lorder array_type_info.So atexit_arm.So bad_cast.So bad_typeid.So
class_type_info.So del_op.So del_opnt.So del_opv.So del_opvnt.So
dyncast.So eh_alloc.So eh_arm.So eh_aux_runtime.So eh_call.So
eh_catch.So eh_exception.So eh_globals.So eh_personality.So eh_ptr.So
eh_term_handler.So eh_terminate.So eh_throw.So eh_type.So
eh_unex_handler.So enum_type_info.So function_type_info.So
fundamental_type_info.So guard.So new_handler.So new_op.So new_opnt.So
new_opv.So new_opvnt.So pbase_type_info.So pmem_type_info.So
pointer_type_info.So pure.So si_class_type_info.So tinfo.So tinfo2.So
vec.So vmi_class_type_info.So vterminate.So cp-demangle.So atomic.So
bitmap_allocator.So pool_allocator.So mt_allocator.So codecvt.So
compatibility.So complex_io.So ctype.So debug.So functexcept.So hash.So
hash_c++0x.So globals_io.So hashtable.So hashtable_c++0x.So ios.So
ios_failure.So ios_init.So ios_locale.So limits.So limits_c++0x.So
list.So debug_list.So locale.So locale_init.So locale_facets.So
localename.So math_stubs_float.So math_stubs_long_double.So stdexcept.So
strstream.So system_error.So tree.So allocator-inst.So concept-inst.So
fstream-inst.So ext-inst.So ios-inst.So iostream-inst.So istream-inst.So
istream.So locale-inst.So misc-inst.So ostream-inst.So sstream-inst.So
streambuf-inst.So streambuf.So string-inst.So valarray-inst.So
wlocale-inst.So wstring-inst.So mutex.So condition_variable.So chrono.So
thread.So atomicity.So codecvt_members.So collate_members.So
ctype_members.So messages_members.So monetary_members.So
numeric_members.So time_members.So basic_file_stdio.So c_locale.So |
tsort -q` -lm
/usr/obj/usr/src/ctools_x86_64_x86_64/usr/libexec/binutils222/elf/ld.bfd: cannot
find -lm
*** Error code 1

Stop.
make: stopped in /usr/src/gnu/lib/gcc44/libstdc++
*** Error code 1

Stop.
make: stopped in /usr/src/gnu/lib/gcc44
*** Error code 1

Stop.
make: stopped in /usr/src/gnu/lib
===> gnu/lib/gcc44
===> gnu/lib/gcc44/csu
sh /usr/src/tools/install.sh -o root -g wheel -m 444  crtbegin.o
crtend.o crtbeginS.o crtendS.o /usr/obj/usr/src/world_x86_64/usr/lib/gcc44
===> gnu/lib/gcc44/libgcc
sh /usr/src/tools/install.sh -C -o root -g wheel -m 444   libgcc.a
/usr/obj/usr/src/world_x86_64/usr/lib/gcc44
sh /usr/src/tools/install.sh -C -o root -g wheel -m 444   libgcc_p.a
/usr/obj/usr/src/world_x86_64/usr/lib/gcc44/profile/libgcc.a
sh /usr/src/tools/install.sh -o root -g wheel -m 444   libgcc_pic.a
/usr/obj/usr/src/world_x86_64/usr/lib/gcc44
sh /usr/src/tools/install.sh -C -o root -g wheel -m 444 
/usr/src/gnu/lib/gcc44/libgcc/../../../usr.bin/cc44/cc_tools/../../../../contrib/gcc-4.4/gcc/config/i386/cpuid.h
/usr/src/gnu/lib/gcc44/libgcc/../../../usr.bin/cc44/cc_tools/../../../../contrib/gcc-4.4/gcc/config/i386/mmintrin.h
/usr/src/gnu/lib/gcc44/libgcc/../../../usr.bin/cc44/cc_tools/../../../../contrib/gcc-4.4/gcc/config/i386/mm3dnow.h
/usr/src/gnu/lib/gcc44/libgcc/../../../usr.bin/cc44/cc_tools/../../../../contrib/gcc-4.4/gcc/config/i386/xmmintrin.h
/usr/src/gnu/lib/gcc44/libgcc/../../../usr.bin/cc44/cc_tools/../../../../contrib/gcc-4.4/gcc/config/i386/emmintrin.h
/usr/src/gnu/lib/gcc44/libgcc/../../../usr.bin/cc44/cc_tools/../../../../contrib/gcc-4.4/gcc/config/i386/pmmintrin.h
/usr/src/gnu/lib/gcc44/libgcc/../../../usr.bin/cc44/cc_tools/../../../../contrib/gcc-4.4/gcc/config/i386/tmmintrin.h
/usr/src/gnu/lib/gcc44/libgcc/../../../usr.bin/cc44/cc_tools/../../../../contrib/gcc-4.4/gcc/config/i386/ammintrin.h
/usr/src/gnu/lib/gcc44/libgcc/../../../usr.bin/cc44/cc_tools/../../../../contrib/gcc-4.4/gcc/config/i386/smmintrin.h
/usr/src/gnu/lib/gcc44/libgcc/../../../usr.bin/cc44/cc_tools/../../../../contrib/gcc-4.4/gcc/config/i386/nmmintrin.h
/usr/src/gnu/lib/gcc44/libgcc/../../../usr.bin/cc44/cc_tools/../../../../contrib/gcc-4.4/gcc/config/i386/bmmintrin.h
/usr/src/gnu/lib/gcc44/libgcc/../../../usr.bin/cc44/cc_tools/../../../../contrib/gcc-4.4/gcc/config/i386/mmintrin-common.h
/usr/src/gnu/lib/gcc44/libgcc/../../../usr.bin/cc44/cc_tools/../../../../contrib/gcc-4.4/gcc/config/i386/wmmintrin.h
/usr/src/gnu/lib/gcc44/libgcc/../../../usr.bin/cc44/cc_tools/../../../../contrib/gcc-4.4/gcc/config/i386/immintrin.h
/usr/src/gnu/lib/gcc44/libgcc/../../../usr.bin/cc44/cc_tools/../../../../contrib/gcc-4.4/gcc/config/i386/x86intrin.h
/usr/src/gnu/lib/gcc44/libgcc/../../../usr.bin/cc44/cc_tools/../../../../contrib/gcc-4.4/gcc/config/i386/avxintrin.h
/usr/src/gnu/lib/gcc44/libgcc/../../../usr.bin/cc44/cc_tools/../../../../contrib/gcc-4.4/gcc/config/i386/cross-stdarg.h
/usr/src/gnu/lib/gcc44/libgcc/../../../usr.bin/cc44/cc_tools/../../../../contrib/gcc-4.4/gcc/ginclude/tgmath.h
mm_malloc.h /usr/obj/usr/src/world_x86_64/usr/libdata/gcc44
===> gnu/lib/gcc44/libgcov
sh /usr/src/tools/install.sh -C -o root -g wheel -m 444   libgcov.a
/usr/obj/usr/src/world_x86_64/usr/lib/gcc44
sh /usr/src/tools/install.sh -C -o root -g wheel -m 444   libgcov_p.a
/usr/obj/usr/src/world_x86_64/usr/lib/gcc44/profile/libgcov.a
sh /usr/src/tools/install.sh -o root -g wheel -m 444   libgcov_pic.a
/usr/obj/usr/src/world_x86_64/usr/lib/gcc44
===> gnu/lib/gcc44/libsupc++
sh /usr/src/tools/install.sh -C -o root -g wheel -m 444   libsupc++.a
/usr/obj/usr/src/world_x86_64/usr/lib/gcc44
sh /usr/src/tools/install.sh -C -o root -g wheel -m 444   libsupc++_p.a
/usr/obj/usr/src/world_x86_64/usr/lib/gcc44/profile/libsupc++.a
sh /usr/src/tools/install.sh -C -o root -g wheel -m 444 
/usr/src/gnu/lib/gcc44/libsupc++/../../../usr.bin/cc44/cc_tools/../../../../contrib/gcc-4.4/libstdc++-v3/libsupc++/exception
/usr/src/gnu/lib/gcc44/libsupc++/../../../usr.bin/cc44/cc_tools/../../../../contrib/gcc-4.4/libstdc++-v3/libsupc++/new
/usr/src/gnu/lib/gcc44/libsupc++/../../../usr.bin/cc44/cc_tools/../../../../contrib/gcc-4.4/libstdc++-v3/libsupc++/typeinfo
/usr/src/gnu/lib/gcc44/libsupc++/../../../usr.bin/cc44/cc_tools/../../../../contrib/gcc-4.4/libstdc++-v3/libsupc++/cxxabi.h
/usr/src/gnu/lib/gcc44/libsupc++/../../../usr.bin/cc44/cc_tools/../../../../contrib/gcc-4.4/libstdc++-v3/libsupc++/cxxabi-forced.h
/usr/src/gnu/lib/gcc44/libsupc++/../../../usr.bin/cc44/cc_tools/../../../../contrib/gcc-4.4/libstdc++-v3/libsupc++/exception_defines.h
/usr/src/gnu/lib/gcc44/libsupc++/../../../usr.bin/cc44/cc_tools/../../../../contrib/gcc-4.4/libstdc++-v3/libsupc++/initializer_list
/usr/src/gnu/lib/gcc44/libsupc++/../../../usr.bin/cc44/cc_tools/../../../../contrib/gcc-4.4/libstdc++-v3/libsupc++/exception_ptr.h
/usr/obj/usr/src/world_x86_64/usr/include/c++/4.4
===> gnu/lib/gcc44/libstdc++
sh /usr/src/tools/install.sh -C -o root -g wheel -m 444   libstdc++.a
/usr/obj/usr/src/world_x86_64/usr/lib/gcc44
sh /usr/src/tools/install.sh -C -o root -g wheel -m 444   libstdc++_p.a
/usr/obj/usr/src/world_x86_64/usr/lib/gcc44/profile/libstdc++.a
sh /usr/src/tools/install.sh -s -o root -g wheel -m 444    
libstdc++.so.9 /usr/obj/usr/src/world_x86_64/usr/lib/gcc44
install: libstdc++.so.9: No such file or directory
*** Error code 71

Stop.
make: stopped in /usr/src/gnu/lib/gcc44/libstdc++
*** Error code 1

Stop.
make: stopped in /usr/src/gnu/lib/gcc44
*** Error code 1

Stop.
make: stopped in /usr/src/gnu/lib
*** Error code 1

Stop.
make: stopped in /usr/src
.CURDIR='/usr/src'
.OBJDIR='/usr/obj/usr/src/world_x86_64/usr/src'
LD_LIBRARY_PATH=''
MACHINE_ARCH='x86_64'
MACHINE='x86_64'
MAKEFILE='/usr/src/Makefile.inc1'
.TARGETS='_generic_libs'
.ERROR_TARGET='gnu/lib__L'
.MAKE.LEVEL='1'
*** Error code 1

Stop.
make: stopped in /usr/src
.CURDIR='/usr/src'
.OBJDIR='/usr/obj/usr/src/world_x86_64/usr/src'
LD_LIBRARY_PATH=''
MACHINE_ARCH='x86_64'
MACHINE='x86_64'
MAKEFILE='/usr/src/Makefile.inc1'
.TARGETS='libraries'
.ERROR_TARGET='libraries'
.MAKE.LEVEL='0'
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.




More information about the Users mailing list