This is a discussion on resources... hardened-gcc within the Gentoo Linux Support forums, part of the Unix Operating Systems category; --> I would be very greatful if someone could point me a link, or any other kind of resources concerning ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I would be very greatful if someone could point me a link, or any other kind of resources concerning hardened-gcc... I've already found out that there is a tool called "hcc"; when I turned off "hardened" then suddenly all programs started to compile properly (no asm problems with 'BREG' class..; whatever it means) and I was finally capable of debugging my own programs with gdb. But, when I "emerge world" last time and had gcc and glibc recompiled I can't debug my programs any more, seeing that I have no permission to access memory, whether I turned hardened options on or off.. And if anyone could interpretate this: # emerge -avD world These are the packages that I would merge, in order: Calculating world dependencies *** Package in world file is not installed: sys-apps/fileutils *** Package in world file is not installed: sys-apps/sh-utils *** Package in world file is not installed: sys-apps/textutils ...done! [blocks B ] sys-devel/hardened-gcc (from pkg sys-devel/gcc-3.3.3-r6) Best wishes, Ps Sorry for my English:> -- /--[ M3ntos ]--[ GG# 4506061 ]--[ sotn3m@nospam.m3ntos.eu.org ]--\ \---------[ Przyjaźń to najpiękniejszy rodzaj miłości. ]---------/ |
| |||
| On Thu, 17 Jun 2004 14:41:27 +0000, Tomek wrote: > I would be very greatful if someone could point me a link, or any other kind of > resources concerning hardened-gcc... > > I've already found out that there is a tool called "hcc"; when I turned off > "hardened" then suddenly all programs started to compile properly (no asm > problems with 'BREG' class..; whatever it means) and I was finally capable of > debugging my own programs with gdb. But, when I "emerge world" last time and > had gcc and glibc recompiled I can't debug my programs any more, seeing that I > have no permission to access memory, whether I turned hardened options on or > off.. Thanks for the hint - you helped me with my nptl [message below] problem have to wait and see if gcc will emerge back with hardened > > And if anyone could interpretate this: > > # emerge -avD world > > These are the packages that I would merge, in order: > > Calculating world dependencies > *** Package in world file is not installed: sys-apps/fileutils > > *** Package in world file is not installed: sys-apps/sh-utils > > *** Package in world file is not installed: sys-apps/textutils > ...done! > [blocks B ] sys-devel/hardened-gcc (from pkg sys-devel/gcc-3.3.3-r6) > AFAIK you shouldn't have hardened-gcc no more - it is in normal gcc with hardened flag and taht's why it is blocked by it. when I talked on irc with the "hardened-guys" after chrooting to stage1 > > Ps Sorry for my English:> |
| ||||
| On 2004-06-17, PiotrAF <piotraf@nospam.poczta.onet.pl> wrote: > AFAIK you shouldn't have hardened-gcc no more - it is in normal gcc with > hardened flag and taht's why it is blocked by it. when I talked on irc > with the "hardened-guys" > after chrooting to stage1 I have "emerge -C hardened-gcc", and 'USE="-hardened" emerge gcc' to rebuild gcc; I can debug with gdb, programs are compiling properly. However I'd like to have a gcc with "hardened" option (as I understand that it is an option for compiling gcc and hardened-gcc is another package) and recompiling gcc each time is not a good idea. Do anyone know any place with some information how to make gcc with USE="hardened" to work properly ? -- /--[ M3ntos ]--[ GG# 4506061 ]--[ sotn3m@nospam.m3ntos.eu.org ]--\ \---------[ Przyjaźń to najpiękniejszy rodzaj miłości. ]---------/ |
| Thread Tools | |
| Display Modes | |
|
|