* [Buildroot] Problems building toolchain
@ 2007-10-09 15:18 Kim Strøger
2007-10-09 16:34 ` Bernhard Fischer
0 siblings, 1 reply; 4+ messages in thread
From: Kim Strøger @ 2007-10-09 15:18 UTC (permalink / raw)
To: buildroot
Hi
I am trying to build just the toolchain, using svn revision 20210.
following the instruction from here:
http://www.uclibc.org/toolchains.html
# Point your web browser here <http://buildroot.uclibc.org/>,
# Download of copy of buildroot
# Unpack the tarball on your Linux system somewhere
# Edit the Makefile as needed if you wish to change anything.
# run 'unset CC'. Then run 'unset CXX'. Some Linux systems (i.e. Gentoo)
set variables such as 'CC' in the system environment which really messes
things up when cross compiling.
# run 'make menuconfig'
# Select the things you want to build. If you /only/ want a toolchain,
leave everything except the toolchain disabled.
# save your buildroot configuration.
# run 'make'
and I end up with this error msg. every time I try to build it.
make[1]: Leaving directory
`/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1-initial'
touch
/home/cz2/Crossdev/buildroot/toolchain_build_arm/gcc-4.2.1-initial/.installed
/usr/bin/make MAKE="/usr/bin/make -j1" -C
/home/cz2/Crossdev/buildroot/toolchain_build_arm/uClibc \
PREFIX= \
DEVEL_PREFIX=/ \
RUNTIME_PREFIX=/ \
HOSTCC="/usr/lib/distcc/bin/gcc" \
all
make[1]: Entering directory
`/home/cz2/Crossdev/buildroot/toolchain_build_arm/uClibc'
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_arm/uClibc'
make: ***
[/home/cz2/Crossdev/buildroot/toolchain_build_arm/uClibc/lib/libc.a] Error 2
How do I get passed this point ?
Thanks, Kim S.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] Problems building toolchain
2007-10-09 15:18 [Buildroot] Problems building toolchain Kim Strøger
@ 2007-10-09 16:34 ` Bernhard Fischer
2007-10-10 7:17 ` Kim Strøger
0 siblings, 1 reply; 4+ messages in thread
From: Bernhard Fischer @ 2007-10-09 16:34 UTC (permalink / raw)
To: buildroot
On Tue, Oct 09, 2007 at 05:18:03PM +0200, Kim Str?ger wrote:
>How do I get passed this point ?
What did you specify as your target CPU and other settings? If in doubt
attach your toplevel .config, please.
Also please do
$ make V=1
and show me the arguments used for the command that fails.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] Problems building toolchain
2007-10-09 16:34 ` Bernhard Fischer
@ 2007-10-10 7:17 ` Kim Strøger
2007-10-10 19:59 ` Bernhard Fischer
0 siblings, 1 reply; 4+ messages in thread
From: Kim Strøger @ 2007-10-10 7:17 UTC (permalink / raw)
To: buildroot
Bernhard Fischer wrote:
> On Tue, Oct 09, 2007 at 05:18:03PM +0200, Kim Str?ger wrote:
>
>
>> How do I get passed this point ?
>>
>
> What did you specify as your target CPU and other settings? If in doubt
> attach your toplevel .config, please.
>
> Also please do
> $ make V=1
> and show me the arguments used for the command that fails.
>
The .config
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 is not set
BR2_arm7tdmi=y
# 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="ARM7TDMI"
BR2_ARM_OABI=y
# BR2_ARM_EABI is not set
BR2_ARCH="arm"
BR2_ENDIAN="LITTLE"
BR2_GCC_TARGET_TUNE="arm7tdmi"
$make V=1
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/lib/distcc/bin/gcc'
C compiler version '4.1.2': Ok
C++ compiler '/usr/lib/distcc/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
and it is when I do the make that I get the error.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] Problems building toolchain
2007-10-10 7:17 ` Kim Strøger
@ 2007-10-10 19:59 ` Bernhard Fischer
0 siblings, 0 replies; 4+ messages in thread
From: Bernhard Fischer @ 2007-10-10 19:59 UTC (permalink / raw)
To: buildroot
On Wed, Oct 10, 2007 at 09:17:57AM +0200, Kim Str?ger wrote:
> Bernhard Fischer wrote:
>> On Tue, Oct 09, 2007 at 05:18:03PM +0200, Kim Str?ger wrote:
>>> How do I get passed this point ?
>>>
>>
>> What did you specify as your target CPU and other settings? If in doubt
>> attach your toplevel .config, please.
>>
>> Also please do
>> $ make V=1
>> and show me the arguments used for the command that fails.
> BR2_arm7tdmi=y
Sounds like this is coming from uClibc.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-10-10 19:59 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-09 15:18 [Buildroot] Problems building toolchain Kim Strøger
2007-10-09 16:34 ` Bernhard Fischer
2007-10-10 7:17 ` Kim Strøger
2007-10-10 19:59 ` Bernhard Fischer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox