[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Cheap cross compiler
From: |
Jeff Bailey |
Subject: |
Cheap cross compiler |
Date: |
Tue, 8 Apr 2003 22:05:27 -0700 |
User-agent: |
Mutt/1.3.28i |
(Hopefully this email doesn't suffer from the usual problems I have
emailing at night: namely it not making any sense. *Sigh*)
When hacking on glibc this evening, I noticed something that might be a
problem with our cheap cross compiler:
Glibc's configure uses this to detect whether DWARF2 unwind info
support is available:
libc_unwind_check="${CC-cc} $CFLAGS -DCHECK__register_frame_info \
-nostdlib -nostartfiles -o conftest conftest.c \
-lgcc -lgcc_eh -lgcc"
The current cheap cross-compiler shares libgcc*.a with the native
compiler, but that appears to be a mistake in this case. It causes the
cross compiler to detect that we have this support where the native
compiler detects that we do not.
Is this resolvable? If I remember right, we don't have all the unwind
info because we have a recent OLDEST_ABI, and don't support pre-gcc-3.x.
Aside from that, glibc-2.3.2 works fine done with the native compiler
with only the usual suspects showing up in make check.
Tks,
Jeff Bailey
--
"However, the Bush administration maintains it would not be bullied into
dialogue" (CNN, on North Korea)
- The fundamental problem with the current US president.
- Cheap cross compiler,
Jeff Bailey <=