Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ProPolice and glibc 2.3.2
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
BruceG
n00b
n00b


Joined: 21 Jul 2003
Posts: 27
Location: Saskatoon, SK, Canada

PostPosted: Mon Jul 21, 2003 9:01 pm    Post subject: ProPolice and glibc 2.3.2 Reply with quote

Greetings.

I am trying to emerge glibc-2.3.2-r1 with ProPolice (-fstack-protector) enabled. According to http://www.gentoo.org/proj/en/hardened/propolice.xml the problems with glibc and sandbox are no longer present in glibc 2.3.2, however when I try to do the ebuild, I see the following error message:
* You have both -fstack-protector and sandbox enabled
* glibc will not compile correctly with both of these enabled
* Please disable sandbox by calling emerge with FEATURES="-sandbox"
Should I disable the error message in the ebuild, or are there in fact still problems with -fstack-protector and glibc/sandbox?

Thanks.
Back to top
View user's profile Send private message
watersb
Apprentice
Apprentice


Joined: 04 Sep 2002
Posts: 297
Location: take a left turn in Tesuque

PostPosted: Thu Jul 31, 2003 5:04 am    Post subject: Re: ProPolice and glibc 2.3.2 Reply with quote

BruceG wrote:

Should I disable the error message in the ebuild, or are there in fact still problems with -fstack-protector and glibc/sandbox?


Try it and see what happens! :D

The worst that could happen is that you destroy your system via a broken glibc. That is *very* unlikely in this case, I think. Much more likely is that the ebuild will not be able to finish.

But in any case, before you EVER perform a glibc build, I would make a backup of your system and make certain that you could restore the system if necessary.

Good luck!
Back to top
View user's profile Send private message
frogger
n00b
n00b


Joined: 05 Dec 2002
Posts: 35

PostPosted: Thu Jul 31, 2003 8:21 pm    Post subject: Reply with quote

This warning should have been removed with the glibc 2.3.2 ebuilds, but somehow has managed to stick around. ProPolice/glibc/sandbox all work together as of glibc 2.3.2.

I just removed the warning from the 2.3.2 ebuilds and committed it to cvs.

Go ahead and give it a try :)
Back to top
View user's profile Send private message
kahcepb
n00b
n00b


Joined: 08 Apr 2003
Posts: 34

PostPosted: Wed Aug 06, 2003 3:44 pm    Post subject: Reply with quote

2frogger: tried...no luck
Code:

.......blahblah..............
u/elf-init.o -MD -MP -MF /var/tmp/portage/glibc-2.3.2-r3/work/glibc-2.3.2/buildhere/csu/elf-init.o.dt
In file included from ../sysdeps/unix/sysv/linux/sys/sysctl.h:29,
                 from ../include/sys/sysctl.h:2,
                 from ../sysdeps/unix/sysv/linux/dl-osinfo.h:22,
                 from ../sysdeps/generic/libc-start.c:33:
/lib/modules/2.6.0-test2-mm4/build/include/linux/sysctl.h:33: error: parse error before '*' token
/lib/modules/2.6.0-test2-mm4/build/include/linux/sysctl.h:35: error: parse error before '*' token
/lib/modules/2.6.0-test2-mm4/build/include/linux/sysctl.h:36: error: parse error before '*' token
/lib/modules/2.6.0-test2-mm4/build/include/linux/sysctl.h:37: error: parse error before '*' token
/lib/modules/2.6.0-test2-mm4/build/include/linux/sysctl.h:40: error: parse error before '}' token
distcc[6792] ERROR: compile on 192.168.1.140 failed with exit code 1
make[2]: *** [/var/tmp/portage/glibc-2.3.2-r3/work/glibc-2.3.2/buildhere/csu/libc-start.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.2-r3/work/glibc-2.3.2/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.2-r3/work/glibc-2.3.2'
make: *** [all] Error 2

!!! ERROR: sys-libs/glibc-2.3.2-r3 failed.
!!! Function src_compile, Line 434, Exitcode 2
!!! (no error message)

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-glibc-2.3.2-r3-28188.log"

open_wr:   /var/backups/infodir.bak
open_wr:   /var/backups/infodir.bak
--------------------------------------------------------------------------------


2All: so...is it safe to emerge glibc with FEATURES="-sandbox" :?:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum