__stack_chk_fail@@GLIBC_2.4 dependency
Martin Buchholz
martinrb at google.com
Fri May 29 16:38:11 PDT 2009
My standard recommendation is to build on the oldest version of a platform
that you intend to support at runtime. For the particular case of linux,
I recommend building on Ubuntu dapper or equivalent system with glibc 2.3.x.
Martin
On Fri, May 29, 2009 at 12:06, Rob Saccoccio <Rob.Saccoccio at sas.com> wrote:
> I'm building hotspot on X86_64 Fedora 10 with gcc 4.3.2. The resulting
> libjvm.so has a dependency on __stack_chk_fail@@GLIBC_2.4. This is fine
> until I try to move it to a linux box that only has glibc 2.3.4.
>
> Building with "-fno-stack-protector -U_FORTIFY_SOURCE" doesn't eliminate
> the dependency and apbuild didn't help either.
>
> I don't know where the dependency is coming from.
>
> Any help would be most welcome.
>
> Rob
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-dev/attachments/20090529/db9a8f18/attachment.html
More information about the hotspot-dev
mailing list