On 21 September 2010 07:33, Martin Buchholz wrote:
> This appears to be another case where the hotspot and jdk repo makefiles
> differ.
>
> hotspot does:
>
> # statically link libgcc and/or libgcc_s, libgcc does not exist before
> gcc-3.x.
> ifneq ("${CC_VER_MAJOR}", "2")
> STATIC_LIBGCC += -sta
I'll need to examine this again.
Andrew is correct - the primary reason is to deliver a binary that works
across large swaths of the Linux ecosystem, which, is notorious for
versioning issues with key major libraries.
That said, I think this needs more exploration. We use gcc-3.2.2 (x64)