This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Trouble building gcc-3.2/libstdc++ on soft-fp m68k-linux
- From: Jim Wilson <wilson at redhat dot com>
- To: Peter Barada <pbarada at mail dot wm dot sps dot mot dot com>
- Cc: gcc at gcc dot gnu dot org, Peter dot Barada at motorola dot com
- Date: 17 Oct 2002 18:15:14 -0400
- Subject: Re: Trouble building gcc-3.2/libstdc++ on soft-fp m68k-linux
- References: <200210172116.g9HLGVP03404@hyper.wm.sps.mot.com>
>What does the error message "type and size of dynamic symbol 'xxx' are
>not defined" mean?
Your assembly file is probably missing the .type and .size directives.
These are needed to set the type/size info in the ELF symbol table.
Just compile a trivial C testcase to assembly language, and look at the
.type and .size directives. It will be pretty obvious how to add them to
your assembly file based on this info. These are only valid for ELF,
so they will have to be conditional on the target somehow.
This is only a warning though, so there is probably something else wrong.
It was ld that segfaulted, not collect, which implies a binutils problem.
Jim