Re: PATCH: Don't use weak function

From: Andreas Schwab <>
Date: 2005-05-14 06:24:55
"H. J. Lu" <> writes:

> On Fri, May 13, 2005 at 11:48:35AM -0700, Lu, Hongjiu wrote:
>> Hi David,
>> I think it is the result of the usage of weak function. I am enclosing a
>> testcase to show it. The correct approach is to use comdat section group
>> or linkonce section. The problem will go away. I will see if I can come
>> up with a kernel patch.
> This patch works for me. The key here is the arch dependent file
> has to come before generic one during the final link.

The duplicate functions should not be compiled in the first place.


Andreas Schwab, SuSE Labs,
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Fri May 13 16:26:53 2005

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:38 EST