Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] problem generating c++ compiler for target arch
@ 2006-11-22 19:44 lists at primefarm.co.uk
  2006-11-22 20:02 ` Bernhard Fischer
  0 siblings, 1 reply; 9+ messages in thread
From: lists at primefarm.co.uk @ 2006-11-22 19:44 UTC (permalink / raw)
  To: buildroot

On Wed, November 22, 2006 6:52 pm, Bernhard Fischer wrote:
> On Wed, Nov 22, 2006 at 06:06:31PM -0000, lists at primefarm.co.uk wrote:
>
>> Hi all,
>>
>>
>> I'm using buildroot to generate cross compilers for the arm 920t
>> running linux. Currently I have a working C compiler, but I really want
>> c++ working too.
>>
>> I get the following error when building (with latest svn release) with
>> fairly minimal options (I have tried to configure it so that it only
>> builds the compilers and related libs etc where possible).
>
> I take it that 3.4.6 works, yes?
> At least the index thing is fixed in 3.4.6 and later and i believe also
> the rope.
>

OK, I tried again with 3.4.6, those errors do indeed go away. I now have a
differnt set of problems (hooray!).

The error seems to center around fakeroot, although I'm no expert at
reading these error dumps.

Here is the whole lot:

CONFIG_FILES= CONFIG_HEADERS= /bin/sh ./config.status
config.status: executing depfiles commands
config.status: executing libtool commands
/bin/sh ./libtool --tag=CC --mode=link gcc  -g -O2   -o faked  faked.o
libcommunicate.la -ldl
libtool: link: gcc -g -O2 -o faked faked.o  ./.libs/libcommunicate.a -ldl
/usr/lib/libc_nonshared.a(elf-init.oS)(.gnu.linkonce.t.__i686.get_pc_thunk.bx+0x0):
In function `__i686.get_pc_thunk.bx':
: multiple definition of `__i686.get_pc_thunk.bx'
./.libs/libcommunicate.a(communicate.o)(.gnu.linkonce.t.__i686.get_pc_thunk.bx+0x0):/home/david/buildroot/toolchain_build_arm/fakeroot-1.5.8/communicate.c:72:
first defined here
collect2: ld returned 1 exit status
make[3]: *** [faked] Error 1
make[3]: Leaving directory
`/home/david/buildroot/toolchain_build_arm/fakeroot-1.5.8'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/david/buildroot/toolchain_build_arm/fakeroot-1.5.8'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/david/buildroot/toolchain_build_arm/fakeroot-1.5.8'
make: *** [/home/david/buildroot/toolchain_build_arm/fakeroot-1.5.8/faked]
Error 2



Any ideas?


David

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [Buildroot] problem generating c++ compiler for target arch
@ 2006-11-22 18:06 lists at primefarm.co.uk
  2006-11-22 18:52 ` Bernhard Fischer
  0 siblings, 1 reply; 9+ messages in thread
From: lists at primefarm.co.uk @ 2006-11-22 18:06 UTC (permalink / raw)
  To: buildroot

Hi all,

I'm using buildroot to generate cross compilers for the arm 920t running
linux. Currently I have a working C compiler, but I really want c++
working too.

I get the following error when building (with latest svn release) with
fairly minimal options (I have tried to configure it so that it only
builds the compilers and related libs etc where possible).

In file included from
/home/david/buildroot/toolchain_build_arm/gcc-3.4.2/libstdc++-v3/src/ext-inst.cc:34:
/home/david/buildroot/toolchain_build_arm/gcc-3.4.2-final/arm-linux-uclibc/libstdc++-v3/include/ext/rope:934:
error: expected `;' before "const"
/home/david/buildroot/toolchain_build_arm/gcc-3.4.2-final/arm-linux-uclibc/libstdc++-v3/include/ext/rope:935:
error: expected `;' before "_Rope_iterator_base"
/home/david/buildroot/toolchain_build_arm/gcc-3.4.2-final/arm-linux-uclibc/libstdc++-v3/include/ext/rope:2011:36:
macro "index" requires 2 arguments, but only 1 given
...
[last message repeated lots for differnt lines]
...
/home/david/buildroot/toolchain_build_arm/gcc-3.4.2-final/arm-linux-uclibc/libstdc++-v3/include/ext/ropeimpl.h:1503:66:
macro "index" requires 2 arguments, but only 1 given
make[4]: *** [ext-inst.lo] Error 1
make[4]: Leaving directory
`/home/david/buildroot/toolchain_build_arm/gcc-3.4.2-final/arm-linux-uclibc/libstdc++-v3/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/david/buildroot/toolchain_build_arm/gcc-3.4.2-final/arm-linux-uclibc/libstdc++-v3'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home/david/buildroot/toolchain_build_arm/gcc-3.4.2-final/arm-linux-uclibc/libstdc++-v3'
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory
`/home/david/buildroot/toolchain_build_arm/gcc-3.4.2-final'
make: ***
[/home/david/buildroot/toolchain_build_arm/gcc-3.4.2-final/.compiled]
Error 2


If needed I can supply a copy of my .config. I'm aware that buildroot is
massively complex and that is possibly why I'm having such troubles. If
anyone knows a better way to get a working c/c++ compiler for my CPU, and
working with uclibc and uclibc++ I'd be interested.


Cheers,

David

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

end of thread, other threads:[~2006-11-29 17:52 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-22 19:44 [Buildroot] problem generating c++ compiler for target arch lists at primefarm.co.uk
2006-11-22 20:02 ` Bernhard Fischer
2006-11-22 20:09   ` lists at primefarm.co.uk
2006-11-22 20:18     ` Bernhard Fischer
2006-11-22 20:21       ` lists at primefarm.co.uk
2006-11-29 17:45         ` MikeW
2006-11-29 17:52           ` David Prime
  -- strict thread matches above, loose matches on Subject: below --
2006-11-22 18:06 lists at primefarm.co.uk
2006-11-22 18:52 ` Bernhard Fischer

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