[Clfs-support] Strange cross-tools eglibc failure
Michael D Labriola
mlabriol at gdeb.com
Fri Mar 28 11:36:08 PDT 2014
clfs-support-bounces at lists.cross-lfs.org wrote on 03/24/2014 10:51:40 AM:
> From: Michael D Labriola <mlabriol at gdeb.com>
> To: clfs-support at lists.cross-lfs.org,
> Cc: michael.d.labriola at gmail.com
> Date: 03/24/2014 10:51 AM
> Subject: [Clfs-support] Strange cross-tools eglibc failure
> Sent by: clfs-support-bounces at lists.cross-lfs.org
>
> I'm can't seem to get past the cross-tools eglibc installtion... I'm
> following the instructions from the 2.1.0 book, and I'm assuming I've
> misread something or typod something. Here's what I get:
>
> /cross-tools/include/gmp.h:324:33: error: expected declaration
specifiers
> or '...' before '(' token
>
> It looks like my cross-gcc doesn't like the __GMP_CAST macro definition
in
> gmp.h? Surely this has to be a bogus error?
>
> My last build was using the dev book just prior to 2.1.0's release,
> mid-September timeframe. I didn't have any problems then. Looks like
> gmp, gcc, and eglibc have been updated slightly since then.
>
> I'm getting this error on an AVLinux host (based off debian 6, I
believe)
> and on a really ancient Red Hat box, both are 32bit operating systems
> running on 64bit capable hardware, so I specified the GMP API following
> the NOTE in the GMP section. I don't think it's related to the host
> sytstem's compiler (at least not directly), because the failure is
coming
> from the cross-gcc that I've already compiled. I feel like I must be
> missing something silly, but I just don't see it.
>
> The problem also happens on the 32bit portion of cross eglibc when
> building for x86_64 multilib and the also happens when building for
x86_64
> pure64 or for x86.
>
> Anyone else seen this problem? Thanks!
Hey guys, I found my problem a few days ago and forgot to tell everyone. I
had CPPFLAGS and LDFLAGS set in my environment... I didn't realize they
were set, and section 5.2 only has you unset CFLAGS and CXXFLAGS. Glad I
fixed it, but sheesh that took forever to track down.
Might I suggest that section 5.2 also explicitly unset these two? ;-)
---
Michael D Labriola
Electric Boat
mlabriol at gdeb.com
401-848-8871 (desk)
401-848-8513 (lab)
401-316-9844 (cell)
More information about the Clfs-support
mailing list