[llvm-commits] [llvm] r157891 - /llvm/trunk/lib/Support/Unix/PathV2.inc

Joerg Sonnenberger joerg at britannica.bec.de
Sat Jun 2 13:45:17 PDT 2012


On Sat, Jun 02, 2012 at 04:28:09PM -0000, Benjamin Kramer wrote:
> Apart from being slightly cheaper, this fixes a real bug that hits 32 bit
> linux systems. When passing a file larger than 2G to be linked (which isn't
> that uncommon with large projects such as WebKit), clang's driver checks
> if the file exists but the file size doesn't fit in an off_t and stat(2)
> fails with EOVERFLOW. Clang then says that the file doesn't exist instead
> of passing it to the linker.

That sounds more like you should be just using LFS in first place...

Joerg



More information about the llvm-commits mailing list