GCC 3.3 status 2004-01-04

Nick Burrett nick at dsvr.net
Sun Jan 4 15:16:52 PST 2004


John Tytgat wrote:
> In message <3FF852A8.8010201 at dsvr.net>
>           Nick Burrett <nick at dsvr.net> wrote:
> 
> 
>>Does anybody have any thoughts or suggestions of other things that need 
>>to be cleared up or fixed ?
> 
> 
> I have two problems when test driving the current release:

> 2. When I use Acorn linker instead (and explicitly list the relevant
>    libraries in its command line), I get an undefined symbol:

You need to use the -rescan feature of drlink on the Acorn linker 
command line.

> ---8<---
> link -aif -c++ -o <CVSRODst$Dir>.!CVS.!RunImage  o.action o.choices o.common_toolbox o.cvstree o.main     o.newproject     o.pexport o.projects o.queue o.select o.utils     o.action_add o.action_checkout o.action_commit     o.action_diff o.action_import o.action_log         o.action_rdiff o.action_remove o.action_rtag       o.action_status o.action_tag o.action_update CVSInclude:CVSTree.o.CVSTree   CVSInclude:CVSShare.o.CVSShare GCCBin:arm-riscos-aof.3_3_0.apcs32.arch3.unixlib.o.libstdc++   GCCBin:arm-riscos-aof.3_3_0.apcs32.arch3.unixlib.o.libsupc++   GCCBin:arm-riscos-aof.3_3_0.apcs32.arch3.unixlib.o.libg2c   GCCBin:arm-riscos-aof.3_3_0.apcs32.arch3.unixlib.o.libgcc OSLibSupport:o.OSLibSupport32   OSLib:o.OSLib32 GCCBin:arm-riscos-aof.3_3_0.apcs32.arch3.unixlib.o.unixlib 
> ARM Linker: (Error) Undefined symbol(s).
> ARM Linker:     __muldi3, referred to from GCCBin:arm-riscos-aof.3_3_0.apcs32.arch3.unixlib.o.unixlib(o).
> ARM Linker: Errors in link, no output generated.
> ARM Linker: finished,  2 informational, 0 warning and 1 error messages.
> AMU: *** exit (1) ***
> ---8<---
> 
> And when I use the UnixLib compiled with Norcroft instead, I don't seem to
> need the __muldi3 routine any more (so my guess is that __muldi3 is an
> internal function needed by GCC produced object files, right ?) but run
> into limited 'long long' support for Norcroft in UnixLib (I will work a
> little bit on that).

You are right, __muldi3 is an internal GCC function, implemented by a 
library (libgcc).



Nick.





More information about the gcc mailing list