Gentoo Archives: gentoo-embedded

From: Natanael Copa <natanael.copa@×××××.com>
To: gentoo-embedded@l.g.o
Subject: [gentoo-embedded] [PATCH] uclibc-0.9.30 and broken gcc-3.4.6
Date: Thu, 13 Nov 2008 12:06:05
Message-Id: 1226577957.31131.130.camel@nc
1 Hi,
2
3 After compiling uclibc with gcc-3.4.6 (current hardened compiler) any
4 program linked with -lpthread just segfaulted.
5
6 shows up that gcc first omits the framepointer then tries to access it.
7 To work around it, gcc-3.4.6 need to add -fno-omit-framepointer to
8 libpthreads.old/*
9
10 attatched patch will help you to build a working hardened uclibc-0.9.30.
11
12 -nc

Attachments

File name MIME type
pthreads-fno-omit-frame-pointer.patch text/x-patch