Re: [PATCH] kconfig: detect if -lintl is needed when linking conf,mconf

From: Christopher Faylor
Date: Tue Feb 14 2006 - 11:11:26 EST


On Thu, Feb 09, 2006 at 12:24:12PM -0500, Robb, Sam wrote:
>Kyle McMartin <kyle@xxxxxxxxxxxxxxxx> wrote:
>>On Mon, Jan 30, 2006 at 01:26:47PM -0500, Robb, Sam wrote:
>>> This patch attempts to correct the problem by detecting whether or not
>>> NLS support requires linking with libintl.
>>
>>Sigh. Can everyone please stop assuming gcc can output to /dev/null? On
>>several platforms, ld tries to lseek in the output file, and fails if it
>>can't.
>
>Ouch. Out of curiosity - what is the reason for this behavior in ld?

Ouch, indeed.

I'd be interested in details on which platforms perform so lamely. When
I grep for lseek and its variants in the bfd and ld source code, the only
occurrences that I see are all working on object files - as I would expect.

-Chris Faylor
(one of the) binutils maintainers
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/