Bill Allombert on Tue, 4 Mar 2003 15:12:38 +0100


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

Re: linker warning


On Sun, Mar 02, 2003 at 08:33:01PM +0100, Karim BELABAS wrote:
> I also have removed some of the code duplication, but didn't dare merging the
> sparcv7 assembler yet, since I cannot test it.

You can test it by using Configure --kernel=sparcv7-none.

> 4) These global symbols are still being defined and included in libpari in
> case one uses different compilers when compiling the library and applications
> [ a bad idea, but... ]. It's the level0 kernel's job to define them, and it
> did that [ without using them, in some cases ].

Where ? I cannot find them.

> These symbols were mistakenly redefined in kernel/none/mp.c and
> kernel/gmp/mp.c.  Hence the linker's warning: two global symbols with the
> same name had been defined, one through direct assembly with 'as', the other
> through gcc's compilation of mp.c.

Maybe i am confused, but what happens with kernel=none ?

Cheers,
Bill.