[Clfs-dev] X86_64 pure64 book and stubs header

Martin Ward macros_the_black at ntlworld.com
Tue Aug 27 15:06:46 PDT 2013


On 27/08/13 22:32, William Harrington wrote:
> Greetings,
>
> The stubs header move command didn't get into the x86_64 book, for 
> some reason.
>
> The stubs 64 header needs to be moved to stubs.h  just as we do with 
> ppc64-64 and sparc64-64.
>
> Also mips doesn't have that as well.
>
> Is there any reason from the devs who released 1.2.0 as to why the 
> stubs header wasn't moved for x86_64 and mips64 during pure64?
>
> It isn't an issue as long as definition is in place, but we clearly 
> don't need but just a stubs.h.
>
> Sure, the build works fine, but it isn't proper.
>
> Sincerely,
>
> William Harrington
> _______________________________________________
> Clfs-dev mailing list
> Clfs-dev at lists.cross-lfs.org
> http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org
>
Having just built an eglibc-2.18 system on pure 64(well halfway ish), it 
does the right thing

stubs,h has a bit of logic behind it and will select stubs-64.h, which 
is what I have.
> #if !defined __x86_64__
> # include <gnu/stubs-32.h>
> #endif
> #if defined __x86_64__ && defined __LP64__
> # include <gnu/stubs-64.h>
> #endif
> #if defined __x86_64__ && defined __ILP32__
> # include <gnu/stubs-x32.h>
> #endif




Could you explain a bit more? as I've never had/seen this problem


Martin



More information about the Clfs-dev mailing list