[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MiNT] Multiple definition of Symbol x (from mathlib) when compiling for 68020-60



Hello, 

when compiling netsurf with the -m68020-60 flag enabled, it gives me lot's
of "Multiple definition of _sin, _cos, etc..." 
I expect this is happening because some of the libs that get linked into
netsurf are just available as 68000 version.  So one of these 68000 libs
reffer to another _sin, but it has the same name... Or could it be an other
issue?  

Is there an good way to make it visible/track down which lib causes the
error/conflict?

If someone tells me -Zmuldef or something is a good choice, I would also
try that, but I think it's better to track back the reason for the multiple
definitions. 

Without the -m68020-60 flag everything works fine. 

Reading the other 68020-60 topic makes me unsure if it is even worth
trying to compile for 68020-60 - but after reading about the performance
increase that openssl get's by using 68020 assembly instructions, I really
wanted to get it working. At least I think it's the way to go, producing an
program that should be run on 68030 or higher, should also get these
compiler flags. Even if it just 1% Speed increase - 1% for each and every
line of codes makes a difference (just my point of view :) ).

Greets, 
Ole