Re: x86_64 crash (cross-platform)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 15 Apr 2008, Cliff Wickman wrote:

> 
> Hi Dave,
> 
> We've recently seen lcrash fail with a floating point exception
> very early in initialization.
> Seems to be a binary compiled under one distribution and then
> executed on another.
> 
> And the solution seems to be the -Wl,--hash-style=both option.
> 
> Have others reported this?

This isn't specific to crash; it's the result of a change in the
Linux/glibc ABI.  Specifically, the new ABI has a .hash.gnu section
whereas the old one has .hash.  Your linker option above causes both
sections to be included, so that the old dynamic loader can load a
binary built with a new toolchain.

Chip

-- 
Charles M. "Chip" Coldwell
Senior Software Engineer
Red Hat, Inc
978-392-2426

GPG ID:  852E052F
GPG FPR: 77E5 2B51 4907 F08A 7E92  DE80 AFA9 9A8F 852E 052F

--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/crash-utility

[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux