Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] svn commit: trunk/buildroot/package/lsof
@ 2007-10-21 12:02 vanokuten at uclibc.org
  2007-10-22  9:53 ` [Buildroot] Can not build toolchain for arm Kim Strøger
  0 siblings, 1 reply; 6+ messages in thread
From: vanokuten at uclibc.org @ 2007-10-21 12:02 UTC (permalink / raw)
  To: buildroot

Author: vanokuten
Date: 2007-10-21 05:02:16 -0700 (Sun, 21 Oct 2007)
New Revision: 20310

Log:
make lsof configure with target includes, thanks to marcg

Modified:
   trunk/buildroot/package/lsof/lsof.mk


Changeset:
Modified: trunk/buildroot/package/lsof/lsof.mk
===================================================================
--- trunk/buildroot/package/lsof/lsof.mk	2007-10-20 19:20:22 UTC (rev 20309)
+++ trunk/buildroot/package/lsof/lsof.mk	2007-10-21 12:02:16 UTC (rev 20310)
@@ -10,6 +10,7 @@
 LSOF_DIR:=$(BUILD_DIR)/lsof_$(LSOF_VERSION)
 LSOF_BINARY:=lsof
 LSOF_TARGET_BINARY:=bin/lsof
+LSOF_INCLUDE:=$(STAGING_DIR)/usr/include
 
 BR2_LSOF_CFLAGS:=
 ifeq ($(BR2_LARGEFILE),)
@@ -33,7 +34,7 @@
 	touch $(LSOF_DIR)/.unpacked
 
 $(LSOF_DIR)/.configured: $(LSOF_DIR)/.unpacked
-	(cd $(LSOF_DIR)/lsof_$(LSOF_VERSION)_src; echo n | $(TARGET_CONFIGURE_OPTS) DEBUG="$(TARGET_CFLAGS) $(BR2_LSOF_CFLAGS)" ./Configure linux)
+	(cd $(LSOF_DIR)/lsof_$(LSOF_VERSION)_src; echo n | $(TARGET_CONFIGURE_OPTS) DEBUG="$(TARGET_CFLAGS) $(BR2_LSOF_CFLAGS)" LSOF_INCLUDE="$(LSOF_INCLUDE)" ./Configure linux)
 	touch $(LSOF_DIR)/.configured
 
 $(LSOF_DIR)/lsof_$(LSOF_VERSION)_src/$(LSOF_BINARY): $(LSOF_DIR)/.configured

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] Can not build toolchain for arm.
  2007-10-21 12:02 [Buildroot] svn commit: trunk/buildroot/package/lsof vanokuten at uclibc.org
@ 2007-10-22  9:53 ` Kim Strøger
  2007-10-22 12:01   ` Kuten Ivan
  0 siblings, 1 reply; 6+ messages in thread
From: Kim Strøger @ 2007-10-22  9:53 UTC (permalink / raw)
  To: buildroot

Hi

I am trying to build just the toolchain for the arm processor,  using
buildroot:  At revision 20315
but I am stock with this error ??



/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1/libmudflap/mf-runtime.c:2124:
error: '__mf_biglock' undeclared (first use in this function)
make[5]: *** [pth/mf-runtime.lo] Error 1
make[5]: Leaving directory
`/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1-final/arm-linux-uclibc/libmudflap'


where do I go from here ???

Thanks,

Kim S


I have included the output from the build below
Checking build system dependencies:
BUILDROOT_DL_DIR clean:                         Ok
CC clean:                                       Ok
CXX clean:                                      Ok
CPP clean:                                      Ok
CFLAGS clean:                                   Ok
INCLUDES clean:                                 Ok
CXXFLAGS clean:                                 Ok
which installed:                                Ok
sed works:                                      Ok (/bin/sed)
GNU make version '3.81':                        Ok
C compiler '/usr/bin/gcc'
C compiler version '4.1.2':                     Ok
C++ compiler '/usr/bin/g++'
C++ compiler version '4.1.2':                   Ok
bison installed:                                Ok
flex installed:                                 Ok
gettext installed:                              Ok
makeinfo installed:                             Ok
Build system dependencies:                      Ok

rm -rf
/home/cz2/Crossdev/buildroot/project_build_arm/uclibc/buildroot-config
mkdir -p /home/cz2/Crossdev/buildroot/project_build_arm/uclibc
cp -dpRf package/config/buildroot-config
/home/cz2/Crossdev/buildroot/project_build_arm/uclibc/buildroot-config
/usr/bin/make -j1 -C
/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1-final all
make[1]: Entering directory
`/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1-final'
make[2]: Entering directory
`/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1-final'
make[3]: Entering directory
`/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1-final/libiberty'
make[4]: Entering directory
`/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1-final/libiberty/testsuite'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory
`/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1-final/libiberty/testsuite'
make[3]: Leaving directory
`/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1-final/libiberty'
make[3]: Entering directory
`/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1-final/fixincludes'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1-final/fixincludes'
make[3]: Entering directory
`/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1-final/intl'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1-final/intl'
make[3]: Entering directory
`/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1-final/build-i386-pc-linux-gnu/libiberty'
make[4]: Entering directory
`/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1-final/build-i386-pc-linux-gnu/libiberty/testsuite'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory
`/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1-final/build-i386-pc-linux-gnu/libiberty/testsuite'
make[3]: Leaving directory
`/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1-final/build-i386-pc-linux-gnu/libiberty'
make[3]: Entering directory
`/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1-final/build-i386-pc-linux-gnu/fixincludes'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1-final/build-i386-pc-linux-gnu/fixincludes'
make[3]: Entering directory
`/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1-final/libcpp'
test -f config.h || (rm -f stamp-h1 && /usr/bin/make stamp-h1)
make[3]: Leaving directory
`/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1-final/libcpp'
make[3]: Entering directory
`/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1-final/libdecnumber'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1-final/libdecnumber'
make[3]: Entering directory
`/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1-final/gcc'
make[3]: Leaving directory
`/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1-final/gcc'
Checking multilib configuration for libmudflap...
make[3]: Entering directory
`/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1-final/arm-linux-uclibc/libmudflap'
/usr/bin/make "AR_FLAGS=rc" "CC_FOR_BUILD=/usr/bin/gcc " "CFLAGS=-g -Os"
"CXXFLAGS=-g -Os" "CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=-g -Os"
"INSTALL=/usr/bin/install -c"
 "INSTALL_DATA=/usr/bin/install -c -m 644"
"INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install
-c" "JC1FLAGS=" "LDFLAGS=" "LIBCFLAGS=-g -Os" "LIBCFL
AGS_FOR_TARGET=-g -Os" "MAKE=/usr/bin/make" "MAKEINFO=makeinfo
--split-size=5000000 --split-size=5000000 " "PICFLAG="
"PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "RUNTESTFLA
GS=" "exec_prefix=/usr" "infodir=/usr/info" "libdir=/usr/lib"
"prefix=/usr" "includedir=/usr/include"
"AR=/home/cz2/Crossdev/buildroot/build_arm/staging_dir/usr/arm-li
nux-uclibc/bin/ar"
"AS=/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1-final/./gcc/as"
"CC=/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1-final/
./gcc/xgcc
-B/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1-final/./gcc/
-B/usr/arm-linux-uclibc/bin/ -B/usr/arm-linux-uclibc/lib/ -isystem
/usr/arm-linux-
uclibc/include -isystem /usr/arm-linux-uclibc/sys-include"
"CXX=arm-linux-uclibc-c++ -B/usr/arm-linux-uclibc/bin/
-B/usr/arm-linux-uclibc/lib/ -isystem /usr/arm-linux-
uclibc/include -isystem /usr/arm-linux-uclibc/sys-include"
"LD=/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1-final/./gcc/collect-ld"
"LIBCFLAGS=-g -Os" "N
M=/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1-final/./gcc/nm"
"PICFLAG="
"RANLIB=/home/cz2/Crossdev/buildroot/build_arm/staging_dir/usr/arm-linux-uclibc
/bin/ranlib" "DESTDIR=" all-recursive
make[4]: Entering directory
`/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1-final/arm-linux-uclibc/libmudflap'
Making all in testsuite
make[5]: Entering directory
`/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1-final/arm-linux-uclibc/libmudflap/testsuite'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory
`/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1-final/arm-linux-uclibc/libmudflap/testsuite'
make[5]: Entering directory
`/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1-final/arm-linux-uclibc/libmudflap'
/bin/sh ./libtool --mode=compile
/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1-final/./gcc/xgcc
-B/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2
.1-final/./gcc/ -B/usr/arm-linux-uclibc/bin/
-B/usr/arm-linux-uclibc/lib/ -isystem /usr/arm-linux-uclibc/include
-isystem /usr/arm-linux-uclibc/sys-include -DHAVE_CONF
IG_H -I.
-I/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1/libmudflap
-I.    -Wall -ffunction-sections -fdata-sections -g -Os -DLIBMUDFLAPTH
-c /home/cz2/Cr
ossdev/buildroot/toolchain_build_arm/gcc-4.2.1/libmudflap/mf-runtime.c
-o pth/mf-runtime.lo
/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1-final/./gcc/xgcc
-B/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1-final/./gcc/
-B/usr/arm-linux-
uclibc/bin/ -B/usr/arm-linux-uclibc/lib/ -isystem
/usr/arm-linux-uclibc/include -isystem /usr/arm-linux-uclibc/sys-include
-DHAVE_CONFIG_H -I. -I/home/cz2/Crossdev/bui
ldroot/toolchain_build_arm/gcc-4.2.1/libmudflap -I. -Wall
-ffunction-sections -fdata-sections -g -Os -DLIBMUDFLAPTH -c
/home/cz2/Crossdev/buildroot/toolchain_build_arm
/gcc-4.2.1/libmudflap/mf-runtime.c  -fPIC -DPIC -o pth/.libs/mf-runtime.o
In file included from
/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1/libmudflap/mf-runtime.c:71:
/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1/libmudflap/mf-impl.h:43:2:
error: #error "Cannot build libmudflapth without pthread.h."
In file included from
/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1/libmudflap/mf-runtime.c:71:
/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1/libmudflap/mf-impl.h:229:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'__mf_biglock'
/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1/libmudflap/mf-runtime.c:188:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'__mf_biglock'
/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1/libmudflap/mf-runtime.c:245:
error: expected specifier-qualifier-list before 'pthread_t'
/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1/libmudflap/mf-runtime.c:
In function '__mf_set_options':
/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1/libmudflap/mf-runtime.c:494:
warning: implicit declaration of function 'pthread_mutex_trylock'
/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1/libmudflap/mf-runtime.c:494:
error: '__mf_biglock' undeclared (first use in this function)
/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1/libmudflap/mf-runtime.c:494:
error: (Each undeclared identifier is reported only once
/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1/libmudflap/mf-runtime.c:494:
error: for each function it appears in.)
/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1/libmudflap/mf-runtime.c:494:
warning: implicit declaration of function 'pthread_mutex_lock'
/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1/libmudflap/mf-runtime.c:501:
warning: implicit declaration of function 'pthread_mutex_unlock'
/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1/libmudflap/mf-runtime.c:
In function '__mfu_set_options':
/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1/libmudflap/mf-runtime.c:599:
warning: implicit declaration of function 'pthread_self'
/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1/libmudflap/mf-runtime.c:
In function '__mf_check':
/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1/libmudflap/mf-runtime.c:804:
error: '__mf_biglock' undeclared (first use in this function)
/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1/libmudflap/mf-runtime.c:
In function '__mf_insert_new_object':
/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1/libmudflap/mf-runtime.c:1053:
error: '__mf_object_t' has no member named 'alloc_thread'
/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1/libmudflap/mf-runtime.c:
In function '__mf_register':
/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1/libmudflap/mf-runtime.c:1099:
error: '__mf_biglock' undeclared (first use in this function)
/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1/libmudflap/mf-runtime.c:
In function '__mf_unregister':
/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1/libmudflap/mf-runtime.c:1201:
error: '__mf_biglock' undeclared (first use in this function)
/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1/libmudflap/mf-runtime.c:
In function '__mfu_unregister':
/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1/libmudflap/mf-runtime.c:1286:
error: '__mf_object_t' has no member named 'deallocated_p'
/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1/libmudflap/mf-runtime.c:1287:
error: '__mf_object_t' has no member named 'dealloc_pc'
/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1/libmudflap/mf-runtime.c:1290:
error: '__mf_object_t' has no member named 'dealloc_time'
/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1/libmudflap/mf-runtime.c:1293:
error: '__mf_object_t' has no member named 'dealloc_thread'
/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1/libmudflap/mf-runtime.c:1297:
error: '__mf_object_t' has no member named 'dealloc_backtrace_size'
/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1/libmudflap/mf-runtime.c:1298:
error: '__mf_object_t' has no member named 'dealloc_backtrace'
/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1/libmudflap/mf-runtime.c:1340:
error: '__mf_object_t' has no member named 'dealloc_backtrace'
/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1/libmudflap/mf-runtime.c:1340:
error: '__mf_object_t' has no member named 'dealloc_backtrace'
/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1/libmudflap/mf-runtime.c:
In function '__mf_describe_object':
/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1/libmudflap/mf-runtime.c:1673:
error: '__mf_object_t' has no member named 'deallocated_p'
/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1/libmudflap/mf-runtime.c:1688:
error: '__mf_object_t' has no member named 'deallocated_p'
/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1/libmudflap/mf-runtime.c:1704:
error: '__mf_object_t' has no member named 'alloc_thread'
/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1/libmudflap/mf-runtime.c:1717:
error: '__mf_object_t' has no member named 'deallocated_p'
/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1/libmudflap/mf-runtime.c:1724:
error: '__mf_object_t' has no member named 'dealloc_time'
/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1/libmudflap/mf-runtime.c:1724:
error: '__mf_object_t' has no member named 'dealloc_time'
/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1/libmudflap/mf-runtime.c:1725:
error: '__mf_object_t' has no member named 'dealloc_pc'
/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1/libmudflap/mf-runtime.c:1727:
error: '__mf_object_t' has no member named 'dealloc_thread'
/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1/libmudflap/mf-runtime.c:1735:
error: '__mf_object_t' has no member named 'dealloc_backtrace_size'
/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1/libmudflap/mf-runtime.c:1736:
error: '__mf_object_t' has no member named 'dealloc_backtrace'
/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1/libmudflap/mf-runtime.c:
In function '__mf_report':
/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1/libmudflap/mf-runtime.c:1778:
error: '__mf_biglock' undeclared (first use in this function)
/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1/libmudflap/mf-runtime.c:
In function '__mf_watch':
/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1/libmudflap/mf-runtime.c:2113:
error: '__mf_biglock' undeclared (first use in this function)
/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1/libmudflap/mf-runtime.c:
In function '__mf_unwatch':
/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1/libmudflap/mf-runtime.c:2124:
error: '__mf_biglock' undeclared (first use in this function)
make[5]: *** [pth/mf-runtime.lo] Error 1
make[5]: Leaving directory
`/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1-final/arm-linux-uclibc/libmudflap'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1-final/arm-linux-uclibc/libmudflap'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1-final/arm-linux-uclibc/libmudflap'
make[2]: *** [all-target-libmudflap] Error 2
make[2]: Leaving directory
`/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1-final'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1-final'
make: ***
[/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1-final/.compiled]
Error 2

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] Can not build toolchain for arm.
  2007-10-22 12:01   ` Kuten Ivan
@ 2007-10-22 10:12     ` Kim Strøger
  2007-10-22 13:27       ` Hamish Moffatt
  0 siblings, 1 reply; 6+ messages in thread
From: Kim Strøger @ 2007-10-22 10:12 UTC (permalink / raw)
  To: buildroot





Kuten Ivan wrote:
> Kim Str?ger wrote:
>   
>> Hi
>>
>> I am trying to build just the toolchain for the arm processor,  using
>> buildroot:  At revision 20315
>> but I am stock with this error ??
>>
>>
>>
>> /home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1/libmudflap/mf-runtime.c:2124:
>> error: '__mf_biglock' undeclared (first use in this function)
>> make[5]: *** [pth/mf-runtime.lo] Error 1
>> make[5]: Leaving directory
>> `/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1-final/arm-linux-uclibc/libmudflap'
>>
>>
>>     
>
> Please provide your .config
> I have built 4.2.1 armv4 920t  with soft-float and without soft-float successfully.
>
> Best regards,
> Ivan
>   

my .config


#
# Automatically generated make config: don't edit
# Mon Oct 22 10:57:39 2007
#
BR2_HAVE_DOT_CONFIG=y
BR2_VERSION="0.10.0-svn"
# BR2_alpha is not set
BR2_arm=y
# BR2_armeb is not set
# BR2_avr32 is not set
# BR2_cris is not set
# BR2_ia64 is not set
# BR2_i386 is not set
# BR2_m68k is not set
# BR2_mips is not set
# BR2_mipsel is not set
# BR2_nios2 is not set
# BR2_powerpc is not set
# BR2_s390 is not set
# BR2_sh is not set
# BR2_sh64 is not set
# BR2_sparc is not set
# BR2_sparc64 is not set
# BR2_x86_64 is not set
BR2_generic_arm=y
# BR2_arm7tdmi is not set
# BR2_arm610 is not set
# BR2_arm710 is not set
# BR2_arm720t is not set
# BR2_arm920t is not set
# BR2_arm922t is not set
# BR2_arm926t is not set
# BR2_arm10t is not set
# BR2_arm1136jf_s is not set
# BR2_arm1176jz_s is not set
# BR2_arm1176jzf_s is not set
# BR2_sa110 is not set
# BR2_sa1100 is not set
# BR2_xscale is not set
# BR2_iwmmxt is not set
BR2_ARM_TYPE="GENERIC_ARM"
BR2_ARM_OABI=y
# BR2_ARM_EABI is not set
BR2_ARCH="arm"
BR2_ENDIAN="LITTLE"

#
# Target options
#

#
# Project Options
#
BR2_PROJECT="uclibc"
BR2_HOSTNAME="uclibc"
BR2_BANNER="Welcome to the Erik's uClibc development environment."

#
# Preset Devices
#
# BR2_TARGET_ARM is not set
# BR2_TARGET_ATMEL is not set
# BR2_TARGET_SHARP is not set

#
# Generic System Support
#
# BR2_TARGET_GENERIC_ACCESS_POINT is not set
# BR2_TARGET_GENERIC_FIREWALL is not set
# BR2_TARGET_GENERIC_DEV_SYSTEM is not set

#
# Build options
#
BR2_WGET="wget --passive-ftp"
BR2_SVN_CO="svn co"
BR2_SVN_UP="svn up"
BR2_GIT="git clone"
BR2_ZCAT="gzip -d -c"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(BASE_DIR)/dl"

#
# Mirrors and Download locations
#
BR2_SOURCEFORGE_MIRROR="easynews"

#
# Atmel Mirrors
#
BR2_ATMEL_MIRROR="ftp://at91dist:distrib at 81.80.104.162/AT91_Third_Party_Design_Flow/Linux_Host/"
BR2_AT91_PATCH_MIRROR="http://maxim.org.za/AT91RM9200/2.6/"
BR2_STAGING_DIR="$(BUILD_DIR)/staging_dir"
# BR2_FPU_SUFFIX is not set
BR2_TOPDIR_PREFIX=""
BR2_TOPDIR_SUFFIX=""
BR2_ROOTFS_PREFIX="rootfs"
BR2_ROOTFS_SUFFIX=""
BR2_GNU_BUILD_SUFFIX="pc-linux-gnu"
BR2_GNU_TARGET_SUFFIX="linux-uclibc"
BR2_JLEVEL=1
# BR2_PREFER_IMA is not set
# BR2_DEPRECATED is not set
BR2_RECENT=y
BR2_STRIP_strip=y
# BR2_STRIP_sstrip is not set
# BR2_STRIP_none is not set
# BR2_PREFER_STATIC_LIB is not set
# BR2_HAVE_MANPAGES is not set
# BR2_HAVE_INFOPAGES is not set
BR2_UPDATE_CONFIG=y

#
# Toolchain
#
BR2_TOOLCHAIN_BUILDROOT=y
# BR2_TOOLCHAIN_EXTERNAL is not set
# BR2_TOOLCHAIN_EXTERNAL_SOURCE is not set
BR2_TOOLCHAIN_SOURCE=y
BR2_EXT_GCC_VERSION_4_1_2=y
BR2_EXT_GCC_VERSION_4_2_1=y
BR2_EXT_BINUTILS_VERSION_2_17=y
BR2_EXT_UCLIBC_VERSION_0_9_29=y
BR2_EXT_UCLIBC_VERSION_0_9_28_3=y

#
# Kernel Header Options
#
# BR2_KERNEL_HEADERS_2_4_25 is not set
# BR2_KERNEL_HEADERS_2_4_27 is not set
# BR2_KERNEL_HEADERS_2_4_29 is not set
# BR2_KERNEL_HEADERS_2_4_31 is not set
# BR2_KERNEL_HEADERS_2_6_9 is not set
# BR2_KERNEL_HEADERS_2_6_11 is not set
# BR2_KERNEL_HEADERS_2_6_12 is not set
# BR2_KERNEL_HEADERS_2_6_20_4 is not set
# BR2_KERNEL_HEADERS_2_6_20 is not set
# BR2_KERNEL_HEADERS_2_6_21_5 is not set
# BR2_KERNEL_HEADERS_2_6_21 is not set
# BR2_KERNEL_HEADERS_2_6_22_1 is not set
# BR2_KERNEL_HEADERS_2_6_22_10 is not set
BR2_KERNEL_HEADERS_2_6_22=y
# BR2_KERNEL_HEADERS_2_6_23 is not set
# BR2_KERNEL_HEADERS_SNAP is not set
BR2_DEFAULT_KERNEL_HEADERS="2.6.22.10"

#
# uClibc Options
#
# BR2_UCLIBC_VERSION_0_9_28_3 is not set
BR2_UCLIBC_VERSION_0_9_29=y
# BR2_UCLIBC_VERSION_SNAPSHOT is not set
BR2_UCLIBC_CONFIG="toolchain/uClibc/uClibc-0.9.29.config"
# BR2_ENABLE_LOCALE is not set
# BR2_PTHREADS_NONE is not set
# BR2_PTHREADS is not set
BR2_PTHREADS_OLD=y
# BR2_PTHREADS_NATIVE is not set
# BR2_PTHREAD_DEBUG is not set
# BR2_UCLIBC_PROGRAM_INVOCATION is not set

#
# Binutils Options
#
# BR2_BINUTILS_VERSION_2_17 is not set
# BR2_BINUTILS_VERSION_2_17_50_0_17 is not set
BR2_BINUTILS_VERSION_2_18=y
# BR2_BINUTILS_VERSION_2_18_50_0_1 is not set
BR2_BINUTILS_VERSION="2.18"
BR2_EXTRA_BINUTILS_CONFIG_OPTIONS=""

#
# GCC Options
#
# BR2_GCC_VERSION_3_4_6 is not set
# BR2_GCC_VERSION_4_0_4 is not set
# BR2_GCC_VERSION_4_1_2 is not set
# BR2_GCC_VERSION_4_2_0 is not set
BR2_GCC_VERSION_4_2_1=y
# BR2_GCC_IS_SNAP is not set
BR2_GCC_SUPPORTS_SYSROOT=y
# BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE is not set
BR2_GCC_VERSION="4.2.1"
BR2_TOOLCHAIN_SYSROOT=y
# BR2_GCC_USE_SJLJ_EXCEPTIONS is not set
BR2_EXTRA_GCC_CONFIG_OPTIONS=""
# BR2_GCC_CROSS_CXX is not set
# BR2_GCC_CROSS_FORTRAN is not set
# BR2_INSTALL_LIBSTDCPP is not set
# BR2_INSTALL_OBJC is not set
# BR2_INSTALL_FORTRAN is not set
BR2_GCC_SHARED_LIBGCC=y

#
# Ccache Options
#
# BR2_CCACHE is not set

#
# Gdb Options
#
# BR2_PACKAGE_GDB is not set
# BR2_PACKAGE_GDB_SERVER is not set
# BR2_PACKAGE_GDB_HOST is not set

#
# elf2flt
#
# BR2_ELF2FLT is not set
# BR2_MKLIBS is not set

#
# Common Toolchain Options
#
# BR2_PACKAGE_SSTRIP_TARGET is not set
# BR2_PACKAGE_SSTRIP_HOST is not set
# BR2_ENABLE_MULTILIB is not set
# BR2_LARGEFILE is not set
# BR2_INET_IPV6 is not set
# BR2_INET_RPC is not set
# BR2_USE_WCHAR is not set
# BR2_SOFT_FLOAT is not set
BR2_TARGET_OPTIMIZATION="-Os -pipe"
BR2_CROSS_TOOLCHAIN_TARGET_UTILS=y

#
# Package Selection for the target
#
# BR2_PACKAGE_BUSYBOX is not set

#
# The minimum needed to build a uClibc development system
#
# BR2_PACKAGE_BASH is not set
# BR2_PACKAGE_BZIP2 is not set
# BR2_PACKAGE_DIFFUTILS is not set
# BR2_PACKAGE_ED is not set
# BR2_PACKAGE_FLEX is not set
# BR2_PACKAGE_GCC_TARGET is not set
# BR2_PACKAGE_GREP is not set
# BR2_PACKAGE_MAKE is not set
# BR2_PACKAGE_PATCH is not set

#
# Other development stuff
#
# BR2_PACKAGE_AUTOCONF is not set
# BR2_PACKAGE_AUTOMAKE is not set
# BR2_PACKAGE_BISON is not set
# BR2_PACKAGE_CCACHE_TARGET is not set
# BR2_PACKAGE_DISTCC is not set
# BR2_PACKAGE_DMALLOC is not set
# BR2_PACKAGE_EXPAT is not set
# BR2_PACKAGE_FAKEROOT is not set
BR2_HOST_FAKEROOT=y
# BR2_PACKAGE_GETTEXT is not set
# BR2_PACKAGE_LIBINTL is not set
# BR2_PACKAGE_LIBGMP is not set
# BR2_PACKAGE_LIBMPFR is not set
# BR2_PACKAGE_LIBTOOL is not set
# BR2_PACKAGE_M4 is not set
# BR2_PACKAGE_PKGCONFIG is not set
# BR2_READLINE is not set
# BR2_PACKAGE_XERCES is not set

#
# Other stuff
#
# BR2_PACKAGE_AT is not set
# BR2_PACKAGE_BERKELEYDB is not set
# BR2_PACKAGE_BSDIFF is not set
# BR2_PACKAGE_CUSTOMIZE is not set
# BR2_PACKAGE_DASH is not set
# BR2_PACKAGE_FILE is not set
# BR2_PACKAGE_KEXEC is not set
# BR2_PACKAGE_LESS is not set
# BR2_PACKAGE_LIBDAEMON is not set
# BR2_PACKAGE_LIBELF is not set
# BR2_PACKAGE_LIBEVENT is not set
# BR2_PACKAGE_LIBFLOAT is not set
# BR2_PACKAGE_LIBGCRYPT is not set
# BR2_PACKAGE_LIBGPG_ERROR is not set
# BR2_PACKAGE_LIBLOCKFILE is not set
# BR2_PACKAGE_LIBSYSFS is not set
# BR2_PACKAGE_LIBXML2 is not set
# BR2_PACKAGE_LOCKFILE_PROGS is not set
# BR2_PACKAGE_LSOF is not set
# BR2_PACKAGE_LTP-TESTSUITE is not set
# BR2_PACKAGE_LTRACE is not set
# BR2_PACKAGE_LTT is not set
# BR2_PACKAGE_MODULE_INIT_TOOLS is not set
# BR2_PACKAGE_MODUTILS is not set
# BR2_PACKAGE_NANO is not set
# BR2_PACKAGE_PORTAGE is not set
# BR2_PACKAGE_PROCPS is not set
# BR2_PACKAGE_PSMISC is not set
# BR2_PACKAGE_SQLITE is not set
# BR2_PACKAGE_STRACE is not set
# BR2_PACKAGE_SUDO is not set
# BR2_PACKAGE_SYSKLOGD is not set
# BR2_PACKAGE_SYSVINIT is not set
# BR2_PACKAGE_TINYLOGIN is not set
# BR2_PACKAGE_UEMACS is not set
# BR2_PACKAGE_UTIL-LINUX is not set
# BR2_PACKAGE_WHICH is not set
# BR2_NETWORK_SUPPORT is not set
# BR2_BLOCKDEV_SUPPORT is not set
# BR2_AUDIO_SUPPORT is not set
# BR2_GRAPHIC_SUPPORT is not set
# BR2_COMPRESSOR_SUPPORT is not set
# BR2_SCRIPTING_SUPPORT is not set

#
# Target filesystem options
#

#
# filesystem for target device
#
# BR2_TARGET_ROOTFS_CRAMFS is not set
# BR2_TARGET_ROOTFS_CLOOP is not set
BR2_TARGET_ROOTFS_EXT2=y
BR2_TARGET_ROOTFS_EXT2_BLOCKS=0
BR2_TARGET_ROOTFS_EXT2_INODES=0
BR2_TARGET_ROOTFS_EXT2_RESBLKS=0
BR2_TARGET_ROOTFS_EXT2_SQUASH=y
BR2_TARGET_ROOTFS_EXT2_OUTPUT="$(IMAGE).ext2"
BR2_TARGET_ROOTFS_EXT2_NONE=y
# BR2_TARGET_ROOTFS_EXT2_GZIP is not set
# BR2_TARGET_ROOTFS_EXT2_BZIP2 is not set
# BR2_TARGET_ROOTFS_EXT2_LZMA is not set
BR2_TARGET_ROOTFS_EXT2_COPYTO=""
# BR2_TARGET_ROOTFS_JFFS2 is not set
# BR2_TARGET_ROOTFS_SQUASHFS is not set
# BR2_TARGET_ROOTFS_TAR is not set
# BR2_TARGET_ROOTFS_CPIO is not set
# BR2_TARGET_ROOTFS_INITRAMFS is not set

#
# bootloader for target device
#

#
# Kernel
#
BR2_KERNEL_none=y
# BR2_KERNEL_LINUX_ADVANCED is not set
# BR2_KERNEL_LINUX is not set
# BR2_KERNEL_HURD is not set
# BR2_PACKAGE_LINUX is not set

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] Can not build toolchain for arm.
  2007-10-22  9:53 ` [Buildroot] Can not build toolchain for arm Kim Strøger
@ 2007-10-22 12:01   ` Kuten Ivan
  2007-10-22 10:12     ` Kim Strøger
  0 siblings, 1 reply; 6+ messages in thread
From: Kuten Ivan @ 2007-10-22 12:01 UTC (permalink / raw)
  To: buildroot

Kim Str?ger wrote:
> Hi
> 
> I am trying to build just the toolchain for the arm processor,  using
> buildroot:  At revision 20315
> but I am stock with this error ??
> 
> 
> 
> /home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1/libmudflap/mf-runtime.c:2124:
> error: '__mf_biglock' undeclared (first use in this function)
> make[5]: *** [pth/mf-runtime.lo] Error 1
> make[5]: Leaving directory
> `/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1-final/arm-linux-uclibc/libmudflap'
> 
> 

Please provide your .config
I have built 4.2.1 armv4 920t  with soft-float and without soft-float successfully.

Best regards,
Ivan
-- 
--------------------------------
Embedded Linux engineer,
Promwad Company: http://www.promwad.com/
Homepage : http://www.ivankuten.com/
--------------------------------

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] Can not build toolchain for arm.
  2007-10-22 10:12     ` Kim Strøger
@ 2007-10-22 13:27       ` Hamish Moffatt
  2007-10-24 11:18         ` [Buildroot] Can not build toolchain for arm or armed Kim Strøger
  0 siblings, 1 reply; 6+ messages in thread
From: Hamish Moffatt @ 2007-10-22 13:27 UTC (permalink / raw)
  To: buildroot

On Mon, Oct 22, 2007 at 12:12:40PM +0200, Kim Str?ger wrote:
> Kuten Ivan wrote:
> > Kim Str?ger wrote:
> >> I am trying to build just the toolchain for the arm processor,  using
> >> buildroot:  At revision 20315
> >> but I am stock with this error ??
> >>
> >> /home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1/libmudflap/mf-runtime.c:2124:
> >> error: '__mf_biglock' undeclared (first use in this function)
> >> make[5]: *** [pth/mf-runtime.lo] Error 1
> >> make[5]: Leaving directory
> >> `/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1-final/arm-linux-uclibc/libmudflap'
> >
> > Please provide your .config
> > I have built 4.2.1 armv4 920t  with soft-float and without soft-float successfully.
> my .config

How about config.log from somewhere in
/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1-final/arm-linux-uclibc/libmudflap ?

I built gcc-4.2.1 + armeb + soft-float + oabi last week ok.

Did you tweak your uClibc configuration at all, eg to disabling
threading?

Hamish
-- 
Hamish Moffatt VK3SB <hamish@debian.org> <hamish@cloud.net.au>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] Can not build toolchain for arm or armed
  2007-10-22 13:27       ` Hamish Moffatt
@ 2007-10-24 11:18         ` Kim Strøger
  0 siblings, 0 replies; 6+ messages in thread
From: Kim Strøger @ 2007-10-24 11:18 UTC (permalink / raw)
  To: buildroot

Sorry for the delay....was out of the office for a bit.

Yes I did try to disable the threading, but then I got an error about an 
abject neeeded threading, so I enable it again.

So once more I started all over. Just want to build the uclibc with 
buildroot.

ARCH=armed
Threads=disable.
Kernel=none
Builtroot svn version: 20319

I have attach the full config file.

But I still end up with this.

make[2]: Leaving directory 
`/home/cz2/Crossdev/buildroot/toolchain_build_armeb/gcc-4.2.1-initial/gcc'
make[1]: Leaving directory 
`/home/cz2/Crossdev/buildroot/toolchain_build_armeb/gcc-4.2.1-initial'
touch 
/home/cz2/Crossdev/buildroot/toolchain_build_armeb/gcc-4.2.1-initial/.installed
/usr/bin/make MAKE="/usr/bin/make -j1" -C 
/home/cz2/Crossdev/buildroot/toolchain_build_armeb/uClibc-0.9.29 \
                PREFIX= \
                DEVEL_PREFIX=/ \
                RUNTIME_PREFIX=/ \
                HOSTCC="/usr/bin/gcc" \
                all
make[1]: Entering directory 
`/home/cz2/Crossdev/buildroot/toolchain_build_armeb/uClibc-0.9.29'
/usr/bin/gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE  -MM *.c > .depend 
2>/dev/null || :
make[2]: `conf' is up to date.
  CC ldso/ldso/ldso.oS

cc1: error: unrecognized command line option "-mfdpic"

make[1]: *** [ldso/ldso/ldso.oS] Error 1
make[1]: Leaving directory 
`/home/cz2/Crossdev/buildroot/toolchain_build_armeb/uClibc-0.9.29'
make: *** 
[/home/cz2/Crossdev/buildroot/toolchain_build_armeb/uClibc-0.9.29/lib/libc.a] 
Error 2


Help......?????

Thanks, Kim S.

Hamish Moffatt wrote:
> On Mon, Oct 22, 2007 at 12:12:40PM +0200, Kim Str?ger wrote:
>   
>> Kuten Ivan wrote:
>>     
>>> Kim Str?ger wrote:
>>>       
>>>> I am trying to build just the toolchain for the arm processor,  using
>>>> buildroot:  At revision 20315
>>>> but I am stock with this error ??
>>>>
>>>> /home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1/libmudflap/mf-runtime.c:2124:
>>>> error: '__mf_biglock' undeclared (first use in this function)
>>>> make[5]: *** [pth/mf-runtime.lo] Error 1
>>>> make[5]: Leaving directory
>>>> `/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1-final/arm-linux-uclibc/libmudflap'
>>>>         
>>> Please provide your .config
>>> I have built 4.2.1 armv4 920t  with soft-float and without soft-float successfully.
>>>       
>> my .config
>>     
>
> How about config.log from somewhere in
> /home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1-final/arm-linux-uclibc/libmudflap ?
>
> I built gcc-4.2.1 + armeb + soft-float + oabi last week ok.
>
> Did you tweak your uClibc configuration at all, eg to disabling
> threading?
>
> Hamish
>   
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: .config
Url: http://busybox.net/lists/buildroot/attachments/20071024/01fd2705/attachment.diff 

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-10-24 11:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-21 12:02 [Buildroot] svn commit: trunk/buildroot/package/lsof vanokuten at uclibc.org
2007-10-22  9:53 ` [Buildroot] Can not build toolchain for arm Kim Strøger
2007-10-22 12:01   ` Kuten Ivan
2007-10-22 10:12     ` Kim Strøger
2007-10-22 13:27       ` Hamish Moffatt
2007-10-24 11:18         ` [Buildroot] Can not build toolchain for arm or armed Kim Strøger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox