On Wed, Jan 11, 2006 at 06:43:01PM +0100, Santiago Vila wrote:
> What makes the linker to behave differently on s390? Why does it report
> an undefined reference to __strcspn_c1, which is not in the test program?

strcspn is a macro which expands to a call of the inline function
__strcspn_c1.

> Seems it could be a linker bug. Please provide more details if that's
> not the case, or reassign if it is.

No. You build the testcase with -g, which makes the compiler supply some
informations about the source. The linker tries to guess where the
undefined reference is located and is wrong in this case.

Bastian

-- 
You!  What PLANET is this!
                -- McCoy, "The City on the Edge of Forever", stardate 3134.0


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to