Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Dec 2008 01:37:41 +0000
From:      Sevan / Venture37 <venture37@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   minimal FreeSBIE bombs out
Message-ID:  <495829E5.5010109@gmail.com>

next in thread | raw e-mail | index | archive | help
Hi Guys
Trying to build a FreeSBIE with MINIMAL=YES defined causes the 
buildworld process to bomb out, below is the output from the log file, 
any ideas??



-------------------------------------------------------------

 >>> stage 4.2: building libraries

--------------------------------------------------------------

cd /usr/src;  MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=amd64 
MACHINE=amd64  CPUTYPE= 
GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin 
GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font 
GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac 
_SHLIBDIRPREFIX=/usr/obj/usr/src/tmp  VERSION="FreeBSD 7.1-RC2 amd64 
701000"  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:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin 
NO_CTF=1 make -f Makefile.inc1 DESTDIR=/usr/obj/usr/src/tmp -DNO_FSCHG 
-DWITHOUT_HTML -DWITHOUT_INFO -DNO_LINT  -DWITHOUT_MAN -DWITHOUT_NLS 
-DWITHOUT_PROFILE libraries

cd /usr/src;  make -f Makefile.inc1 _prereq_libs;  make -f Makefile.inc1 
_startup_libs;  make -f Makefile.inc1 _prebuild_libs;  make -f 
Makefile.inc1 _generic_libs;

===> gnu/lib/libgcc (obj,depend,all,install)

make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile 
MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile 
GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc tm.h

TARGET_CPU_DEFAULT=""  HEADERS="options.h i386/biarch64.h i386/i386.h 
i386/unix.h i386/att.h dbxelf.h elfos.h freebsd-native.h freebsd-spec.h 
freebsd.h i386/x86-64.h i386/freebsd.h i386/freebsd64.h freebsd64-fix.h 
defaults.h"  DEFINES=""  /bin/sh 
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/mkconfig.sh tm.h

echo '#define EXTRA_MODES_FILE "i386/i386-modes.def"' >> tm.h

make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile 
MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile 
GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc tconfig.h

TARGET_CPU_DEFAULT=""  HEADERS="auto-host.h ansidecl.h" 
DEFINES="USED_FOR_TARGET"  /bin/sh 
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/mkconfig.sh tconfig.h

make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile 
MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile 
GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc options.h

awk -f /usr/src/gnu/lib/libgcc/../../../contrib/gcc/opt-gather.awk 
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/c.opt 
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/common.opt 
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/config/i386/i386.opt > 
optionlist

awk -f /usr/src/gnu/lib/libgcc/../../../contrib/gcc/opt-functions.awk 
-f /usr/src/gnu/lib/libgcc/../../../contrib/gcc/opth-gen.awk  < 
optionlist > options.h

make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile 
MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile 
GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc unwind.h

ln -sf /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-generic.h 
unwind.h

make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile 
MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile 
GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc gthr-default.h

ln -sf /usr/src/gnu/lib/libgcc/../../../contrib/gcc/gthr-posix.h 
gthr-default.h

cc -c -O2 -fno-strict-aliasing -pipe  -DIN_GCC -DIN_LIBGCC2 
-D__GCC_FLOAT_NOT_NEEDED  -DHAVE_GTHR_DEFAULT 
-I/usr/src/gnu/lib/libgcc/../../../contrib/gcclibs/include 
-I/usr/src/gnu/lib/libgcc/../../../contrib/gcc/config 
-I/usr/src/gnu/lib/libgcc/../../../contrib/gcc -I. 
-I/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools  -fvisibility=hidden 
-DHIDE_EXPORTS -fPIC -fexceptions -D__GLIBC__=3 -DElfW=__ElfN -o 
unwind-dw2.o /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c

In file included from 
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:32:

/usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:47:20: error: 
stddef.h: No such file or directory

/usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:48:19: error: 
float.h: No such file or directory

/usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:87:20: error: 
stdarg.h: No such file or directory

/usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:90:19: error: 
stdio.h: No such file or directory

/usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:96:19: error: 
errno.h: No such file or directory

/usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:103:20: error: 
string.h: No such file or directory

/usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:104:20: error: 
stdlib.h: No such file or directory

/usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:105:20: error: 
unistd.h: No such file or directory

/usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:108:20: error: 
limits.h: No such file or directory

/usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:111:18: error: 
time.h: No such file or directory

In file included from 
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:40:

/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h: In function 
'size_of_encoded_value':

/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h:90: warning: 
incompatible implicit declaration of built-in function 'abort'

/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h: In function 
'base_of_encoded_value':

/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h:122: warning: 
incompatible implicit declaration of built-in function 'abort'

/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h: In function 
'read_encoded_value_with_base':

/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h:259: warning: 
incompatible implicit declaration of built-in function 'abort'

In file included from 
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/gthr.h:114,

                  from 
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:42:

./gthr-default.h:43:21: error: pthread.h: No such file or directory

In file included from 
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/gthr.h:114,

                  from 
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:42:

./gthr-default.h: At top level:

./gthr-default.h:92: error: 'pthread_once' undeclared here (not in a 
function)

./gthr-default.h:93: error: 'pthread_getspecific' undeclared here (not 
in a function)

./gthr-default.h:94: error: 'pthread_setspecific' undeclared here (not 
in a function)

./gthr-default.h:95: error: 'pthread_create' undeclared here (not in a 
function)

./gthr-default.h:96: error: 'pthread_cancel' undeclared here (not in a 
function)

./gthr-default.h:97: error: 'pthread_mutex_lock' undeclared here (not in 
a function)

./gthr-default.h:98: error: 'pthread_mutex_trylock' undeclared here (not 
in a function)

./gthr-default.h:99: error: 'pthread_mutex_unlock' undeclared here (not 
in a function)

./gthr-default.h:100: error: 'pthread_mutex_init' undeclared here (not 
in a function)

./gthr-default.h:103: error: 'pthread_key_create' undeclared here (not 
in a function)

./gthr-default.h:104: error: 'pthread_key_delete' undeclared here (not 
in a function)

./gthr-default.h:105: error: 'pthread_mutexattr_init' undeclared here 
(not in a function)

./gthr-default.h:106: error: 'pthread_mutexattr_settype' undeclared here 
(not in a function)

./gthr-default.h:107: error: 'pthread_mutexattr_destroy' undeclared here 
(not in a function)

./gthr-default.h: In function '__gthread_active_p':

./gthr-default.h:173: error: 'PTHREAD_MUTEX_INITIALIZER' undeclared 
(first use in this function)

./gthr-default.h:173: error: (Each undeclared identifier is reported 
only once

./gthr-default.h:173: error: for each function it appears in.)

./gthr-default.h:174: error: 'PTHREAD_ONCE_INIT' undeclared (first use 
in this function)

./gthr-default.h:188: error: called object '__gthrw_pthread_mutex_lock' 
is not a function

./gthr-default.h:189: error: called object '__gthrw_pthread_once' is not 
a function

./gthr-default.h:190: error: called object 
'__gthrw_pthread_mutex_unlock' is not a function

./gthr-default.h: In function '__gthread_once':

./gthr-default.h:578: error: called object '__gthrw_pthread_once' is not 
a function

./gthr-default.h: In function '__gthread_key_create':

./gthr-default.h:586: error: called object '__gthrw_pthread_key_create' 
is not a function

./gthr-default.h: In function '__gthread_key_delete':

./gthr-default.h:592: error: called object '__gthrw_pthread_key_delete' 
is not a function

./gthr-default.h: In function '__gthread_getspecific':

./gthr-default.h:598: error: called object '__gthrw_pthread_getspecific' 
is not a function

./gthr-default.h: In function '__gthread_setspecific':

./gthr-default.h:604: error: called object '__gthrw_pthread_setspecific' 
is not a function

./gthr-default.h: In function '__gthread_mutex_lock':

./gthr-default.h:611: error: called object '__gthrw_pthread_mutex_lock' 
is not a function

./gthr-default.h: In function '__gthread_mutex_trylock':

./gthr-default.h:620: error: called object 
'__gthrw_pthread_mutex_trylock' is not a function

./gthr-default.h: In function '__gthread_mutex_unlock':

./gthr-default.h:629: error: called object 
'__gthrw_pthread_mutex_unlock' is not a function

./gthr-default.h: In function '__gthread_recursive_mutex_init_function':

./gthr-default.h:643: error: called object 
'__gthrw_pthread_mutexattr_init' is not a function

./gthr-default.h:645: error: 'PTHREAD_MUTEX_RECURSIVE' undeclared (first 
use in this function)

./gthr-default.h:645: error: called object 
'__gthrw_pthread_mutexattr_settype' is not a function

./gthr-default.h:647: error: called object '__gthrw_pthread_mutex_init' 
is not a function

./gthr-default.h:649: error: called object 
'__gthrw_pthread_mutexattr_destroy' is not a function

/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In function 
'_Unwind_GetGR':

/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:168: warning: 
incompatible implicit declaration of built-in function 'abort'

/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In function 
'_Unwind_SetGR':

/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:208: warning: 
incompatible implicit declaration of built-in function 'abort'

/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In function 
'_Unwind_SetGRValue':

/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:257: warning: 
incompatible implicit declaration of built-in function 'abort'

/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In function 
'extract_cie_info':

/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:350: warning: 
incompatible implicit declaration of built-in function 'strlen'

/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In function 
'execute_stack_op':

/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:611: warning: 
incompatible implicit declaration of built-in function 'abort'

/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:829: warning: 
incompatible implicit declaration of built-in function 'abort'

/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:836: warning: 
incompatible implicit declaration of built-in function 'abort'

/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In function 
'execute_cfa_program':

/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1082: warning: 
incompatible implicit declaration of built-in function 'abort'

/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In function 
'uw_frame_state_for':

/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1099: warning: 
incompatible implicit declaration of built-in function 'memset'

/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In function 
'__frame_state_for':

/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1184: warning: 
incompatible implicit declaration of built-in function 'memset'

/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In function 
'_Unwind_SetSpColumn':

/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1234: warning: 
incompatible implicit declaration of built-in function 'abort'

/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In function 
'uw_update_context_1':

/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1290: warning: 
incompatible implicit declaration of built-in function 'abort'

/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In function 
'uw_init_context_1':

/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1408: warning: 
incompatible implicit declaration of built-in function 'memset'

/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1413: warning: 
incompatible implicit declaration of built-in function 'abort'

/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1417: error: 
'PTHREAD_ONCE_INIT' undeclared (first use in this function)

/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In function 
'uw_install_context_1':

/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1472: warning: 
incompatible implicit declaration of built-in function 'abort'

/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1480: warning: 
incompatible implicit declaration of built-in function 'memcpy'

/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1486: warning: 
incompatible implicit declaration of built-in function 'memcpy'

/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1490: warning: 
incompatible implicit declaration of built-in function 'memcpy'

In file included from 
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1518:

/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind.inc: In function 
'_Unwind_RaiseException_Phase2':

/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind.inc:75: warning: 
incompatible implicit declaration of built-in function 'abort'




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