Gentoo Archives: gentoo-embedded

From: Ned Ludd <solar@g.o>
To: Natanael Copa <mlists@××××××.org>
Cc: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] uclibc "emerge sync" segfaults
Date: Mon, 02 Aug 2004 20:04:33
Message-Id: 1091477014.29420.564.camel@simple
In Reply to: Re: [gentoo-embedded] uclibc "emerge sync" segfaults by Natanael Copa
1 On Mon, 2004-08-02 at 08:52, Natanael Copa wrote:
2 > Mike Frysinger wrote:
3 >
4 > >On Monday 02 August 2004 08:43 am, Natanael Copa wrote:
5 > >
6 > >
7 > >>The problem is that h->h_aliases is pointing at an unreadable nun-null
8 > >>location.
9 > >>
10 > >>
11 > >
12 > >yep, i e-mailed the uclibc lists a detailed report of the issue ...
13 > >it works just fine if you stick the host in /etc/hosts, but not if you try to
14 > >resolve the address via dns
15 > >
16 > >for now i `mount --bind` my normal portage host with uclibc chroot to work
17 > >around the problem :)
18 > >
19 > >
20 >
21 > btw... how Do I compile uclibc with debugging?
22 >
23 > USE="debug" emerge uclibc doesn not seem to work.
24 Yeah it's not that kinda debug per say.
25
26 I have several uclibc chroot's setup.
27 One that's setup just for debugging stuff and here is what I set.
28 ----------------------------------------------
29 CFLAGS="-Os -pipe -g3"
30 CHOST="i386-pc-linux-uclibc"
31 CCHOST="${CHOST}"
32 CXXFLAGS="${CFLAGS}"
33 ACCEPT_KEYWORDS="~x86 x86"
34 FEATURES="buildpkg nostrip"
35 PORTDIR=/usr/portage
36 PKGDIR=${PORTDIR}/packages/${CHOST}
37 -----------------------------------------------
38
39 If you want to do it on a per pkg basis just do.
40 FEATURES="nostrip" CFLAGS="-g3" emerge foo
41
42
43 >
44 >
45 >
46 > --
47 > gentoo-embedded@g.o mailing list
48 --
49 Ned Ludd <solar@g.o>
50 Gentoo (hardened,security,infrastructure,embedded,toolchain) Developer

Attachments

File name MIME type
signature.asc application/pgp-signature