This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gcc 3 /c++ on arm


Just got and built the latest snapshot of gcc 3 -- still broken
Details below
Andy


[andy]# arm-elf-g++ -v
Reading specs from /tools3/H-i686-pc-linux-gnu/lib/gcc-lib/arm-elf/3.0.1/specs
Configured with: ../gcc/configure --target=arm-elf --prefix=/tools3
--with-newlib --with-headers=/usr/include --with-gnu-as --with-gnu-ld
--exec-prefix=/tools3/H-i686-pc-linux-gnu --enable-languages=c,c++
Thread model: single
gcc version 3.0.1 20010716 (prerelease)

tried to build the following :

int  main()
{
 unsigned long* foo = new unsigned long[20];
 return 0;
}

[andy]# arm-elf-g++ -o simple simpletest.cpp
/tools3/H-i686-pc-linux-gnu/lib/gcc-lib/arm-elf/3.0.1/../../../../arm-elf/lib/li
bstdc++.a(new_opv.o): In function `operator new[](unsigned long)':
../../../../gcc/libstdc++-v3/libsupc++/new_opv.cc:35: undefined reference
to `LLSDA1'
/tools3/H-i686-pc-linux-gnu/lib/gcc-lib/arm-elf/3.0.1/../../../../arm-elf/lib/li
bstdc++.a(eh_exception.o):../../../../gcc/libstdc++-v3/libsupc++/eh_exception.cc
:36: undefined reference to `LLSDA7'
/tools3/H-i686-pc-linux-gnu/lib/gcc-lib/arm-elf/3.0.1/../../../../arm-elf/lib/li
bstdc++.a(eh_personality.o): In function `base_of_encoded_value':
../../../../gcc/gcc/unwind-pe.h:98: undefined reference to `LLSDA8'
/tools3/H-i686-pc-linux-gnu/lib/gcc-lib/arm-elf/3.0.1/../../../../arm-elf/lib/li
bstdc++.a(eh_terminate.o): In function `__cxxabiv1::__terminate(void
(*)())':
../../../../gcc/libstdc++-v3/libsupc++/eh_terminate.cc:45: undefined
reference to `LLSDA1'
/tools3/H-i686-pc-linux-gnu/lib/gcc-lib/arm-elf/3.0.1/../../../../arm-elf/lib/li
bstdc++.a(new_op.o): In function `operator new(unsigned long)':
../../../../gcc/libstdc++-v3/libsupc++/new_op.cc:41: undefined reference to
`LLSDA1'
/tools3/H-i686-pc-linux-gnu/lib/gcc-lib/arm-elf/3.0.1/../../../../arm-elf/lib/li
bstdc++.a(eh_aux_runtime.o): In function `__cxa_bad_cast':
../../../../gcc/libstdc++-v3/libsupc++/eh_aux_runtime.cc:42: undefined
reference to `LLSDA2'
collect2: ld returned 1 exit status


>andy@softbook.com wrote:
>>
>> Sorry to bring it up again,
>> I'm in desperate need of a functional gcc 3 cross compiler for arm, capable
>> of building c++ code.
>> Is anyone working on resolving the bugs detailed below ?
>
>Firstly, try again with the current gcc v3.0.1 candidate. If that doesn't
>work either, submit it at http://gcc.gnu.org/bugs.html
>
>Jifl
>--
>Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
>Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
>
>------
>Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
>Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com




------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]