Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How long until hardened and toolchain will produce a hardene
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 17, 18, 19 ... 28, 29, 30  Next  
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  

How long until hardened and toolchain will produce a hardened gcc4?
1 year
23%
 23%  [ 40 ]
5 years
20%
 20%  [ 35 ]
10 years
7%
 7%  [ 13 ]
lifetime
4%
 4%  [ 8 ]
eternity
44%
 44%  [ 76 ]
Total Votes : 172

Author Message
zorry
Developer
Developer


Joined: 30 Mar 2008
Posts: 380
Location: Umeå The north part of scandinavia

PostPosted: Tue Sep 23, 2008 5:11 pm    Post subject: Reply with quote

radegand wrote:

.......
Added tickets 43 and 44. Sorry, I forgot to choose milestone 7 for the 44...

Can you try the patch for emacs on the trac??
Is compile for me now on x86_64
_________________
gcc version 6.1.0 (Gentoo Hardened 6.1.0 p1.1)
Back to top
View user's profile Send private message
Dwokfur
Tux's lil' helper
Tux's lil' helper


Joined: 15 Sep 2006
Posts: 85
Location: Budapest, Hungary, Europe

PostPosted: Wed Sep 24, 2008 11:17 pm    Post subject: Reply with quote

steveL wrote:
Nice one dw; I found Sam Hocevar’s blog entry especially interesting.


't was an easy one.
More on this topic

Regards,
Dw.
Back to top
View user's profile Send private message
radegand
n00b
n00b


Joined: 22 Aug 2008
Posts: 45
Location: Poland

PostPosted: Fri Sep 26, 2008 8:46 pm    Post subject: Reply with quote

zorry wrote:

Can you try the patch for emacs on the trac??
Is compile for me now on x86_64


Tried the patch, it compiles on nossp_all and vanilla - is that the expected behaviour? It's still PAX that detects 'execution attempt' and kills the compilation...
wanted to update the ticket but was unable to login to trac... :? so adding it here:
Code:
../lib-src/make-docfile -a ../etc/DOC -d /var/tmp/portage/app-editors/emacs-22.3/work/emacs-22.3/src ../lisp/mouse.elc ../lisp/select.elc ../lisp/scroll-bar.elc ../lisp/vmsproc.elc ../lisp/vms-patch.elc ../lisp/ls-lisp.elc ../lisp/dos-fns.elc ../lisp/w32-fns.elc ../lisp/dos-w32.elc ../lisp/disp-table.elc ../lisp/dos-vars.elc ../lisp/tooltip.elc ../lisp/image.elc ../lisp/fringe.elc ../lisp/dnd.elc ../lisp/mwheel.elc ../lisp/tool-bar.elc ../lisp/x-dnd.elc ../lisp/international/ccl.elc ../lisp/international/codepage.elc ../lisp/international/fontset.elc ../lisp/abbrev.elc ../lisp/buff-menu.elc ../lisp/button.elc ../lisp/emacs-lisp/byte-run.elc ../lisp/cus-face.elc ../lisp/cus-start.elc ../lisp/custom.elc ../lisp/emacs-lisp/backquote.elc ../lisp/emacs-lisp/lisp-mode.elc ../lisp/emacs-lisp/lisp.elc ../lisp/facemenu.elc ../lisp/faces.elc ../lisp/files.elc ../lisp/emacs-lisp/float-sup.elc ../lisp/format.elc ../lisp/frame.elc ../lisp/help.elc ../lisp/indent.elc ../lisp/isearch.elc ../lisp/rfn-eshadow.elc ../lisp/loadup.el ../lisp/loaddefs.el ../lisp/bindings.elc ../lisp/emacs-lisp/map-ynp.elc ../lisp/env.elc ../lisp/international/mule.elc ../lisp/international/mule-conf.el ../lisp/international/mule-cmds.elc ../lisp/international/characters.elc ../lisp/international/ucs-tables.elc ../lisp/international/utf-8.elc ../lisp/international/utf-16.elc ../lisp/international/latin-1.el ../lisp/international/latin-2.el ../lisp/international/latin-3.el ../lisp/international/latin-4.el ../lisp/international/latin-5.el ../lisp/international/latin-8.el ../lisp/international/latin-9.el ../lisp/case-table.elc ../lisp/language/chinese.elc ../lisp/language/cyrillic.elc ../lisp/language/indian.elc ../lisp/language/devanagari.el ../lisp/language/kannada.el ../lisp/language/malayalam.el ../lisp/language/tamil.el ../lisp/language/english.el ../lisp/language/ethiopic.elc ../lisp/language/european.elc ../lisp/language/czech.el ../lisp/language/slovak.el ../lisp/language/romanian.el ../lisp/language/greek.el ../lisp/language/hebrew.el ../lisp/language/japanese.el ../lisp/language/korean.el ../lisp/language/lao.el ../lisp/language/thai.el ../lisp/language/tibetan.elc ../lisp/language/vietnamese.elc ../lisp/language/misc-lang.el ../lisp/language/utf-8-lang.el ../lisp/language/georgian.el ../lisp/menu-bar.elc ../lisp/paths.el ../lisp/register.elc ../lisp/replace.elc ../lisp/simple.elc ../lisp/startup.elc ../lisp/subr.elc ../lisp/term/tty-colors.elc ../lisp/font-core.elc ../lisp/emacs-lisp/syntax.elc ../lisp/font-lock.elc ../lisp/jit-lock.elc ../lisp/textmodes/fill.elc ../lisp/textmodes/page.elc ../lisp/textmodes/paragraphs.elc ../lisp/textmodes/text-mode.elc ../lisp/emacs-lisp/timer.elc ../lisp/vc-hooks.elc ../lisp/jka-cmpr-hook.elc ../lisp/ediff-hook.elc ../lisp/widget.elc ../lisp/window.elc ../lisp/version.el
LC_ALL=C ./temacs -batch -l loadup dump
make[1]: *** [emacs] Killed
make[1]: Leaving directory `/var/tmp/portage/app-editors/emacs-22.3/work/emacs-22.3/src'
make: *** [src] Error 2


and PAX:

Code:
PAX: execution attempt in: <NULL>, 00000000-00000000 00000000
PAX: terminating task: /var/tmp/portage/app-editors/emacs-22.3/work/emacs-22.3/src/temacs(temacs):5009, uid/euid: 0/0, PC: 00000000, SP: 28d40184
PAX: bytes at PC: ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
PAX: bytes at SP-4:
Back to top
View user's profile Send private message
zorry
Developer
Developer


Joined: 30 Mar 2008
Posts: 380
Location: Umeå The north part of scandinavia

PostPosted: Fri Sep 26, 2008 11:38 pm    Post subject: Reply with quote

radegand wrote:
zorry wrote:

Can you try the patch for emacs on the trac??
Is compile for me now on x86_64


Tried the patch, it compiles on nossp_all and vanilla - is that the expected behaviour? It's still PAX that detects 'execution attempt' and kills the compilation...
wanted to update the ticket but was unable to login to trac... :? so adding it here:
Code:
../lib-src/make-docfile -a ../etc/DOC -d /var/tmp/portage/app-editors/emacs-22.3/work/emacs-22.3/src ../lisp/mouse.elc ../lisp/select.elc ../lisp/scroll-bar.elc ../lisp/vmsproc.elc ../lisp/vms-patch.elc ../lisp/ls-lisp.elc ../lisp/dos-fns.elc ../lisp/w32-fns.elc ../lisp/dos-w32.elc ../lisp/disp-table.elc ../lisp/dos-vars.elc ../lisp/tooltip.elc ../lisp/image.elc ../lisp/fringe.elc ../lisp/dnd.elc ../lisp/mwheel.elc ../lisp/tool-bar.elc ../lisp/x-dnd.elc ../lisp/international/ccl.elc ../lisp/international/codepage.elc ../lisp/international/fontset.elc ../lisp/abbrev.elc ../lisp/buff-menu.elc ../lisp/button.elc ../lisp/emacs-lisp/byte-run.elc ../lisp/cus-face.elc ../lisp/cus-start.elc ../lisp/custom.elc ../lisp/emacs-lisp/backquote.elc ../lisp/emacs-lisp/lisp-mode.elc ../lisp/emacs-lisp/lisp.elc ../lisp/facemenu.elc ../lisp/faces.elc ../lisp/files.elc ../lisp/emacs-lisp/float-sup.elc ../lisp/format.elc ../lisp/frame.elc ../lisp/help.elc ../lisp/indent.elc ../lisp/isearch.elc ../lisp/rfn-eshadow.elc ../lisp/loadup.el ../lisp/loaddefs.el ../lisp/bindings.elc ../lisp/emacs-lisp/map-ynp.elc ../lisp/env.elc ../lisp/international/mule.elc ../lisp/international/mule-conf.el ../lisp/international/mule-cmds.elc ../lisp/international/characters.elc ../lisp/international/ucs-tables.elc ../lisp/international/utf-8.elc ../lisp/international/utf-16.elc ../lisp/international/latin-1.el ../lisp/international/latin-2.el ../lisp/international/latin-3.el ../lisp/international/latin-4.el ../lisp/international/latin-5.el ../lisp/international/latin-8.el ../lisp/international/latin-9.el ../lisp/case-table.elc ../lisp/language/chinese.elc ../lisp/language/cyrillic.elc ../lisp/language/indian.elc ../lisp/language/devanagari.el ../lisp/language/kannada.el ../lisp/language/malayalam.el ../lisp/language/tamil.el ../lisp/language/english.el ../lisp/language/ethiopic.elc ../lisp/language/european.elc ../lisp/language/czech.el ../lisp/language/slovak.el ../lisp/language/romanian.el ../lisp/language/greek.el ../lisp/language/hebrew.el ../lisp/language/japanese.el ../lisp/language/korean.el ../lisp/language/lao.el ../lisp/language/thai.el ../lisp/language/tibetan.elc ../lisp/language/vietnamese.elc ../lisp/language/misc-lang.el ../lisp/language/utf-8-lang.el ../lisp/language/georgian.el ../lisp/menu-bar.elc ../lisp/paths.el ../lisp/register.elc ../lisp/replace.elc ../lisp/simple.elc ../lisp/startup.elc ../lisp/subr.elc ../lisp/term/tty-colors.elc ../lisp/font-core.elc ../lisp/emacs-lisp/syntax.elc ../lisp/font-lock.elc ../lisp/jit-lock.elc ../lisp/textmodes/fill.elc ../lisp/textmodes/page.elc ../lisp/textmodes/paragraphs.elc ../lisp/textmodes/text-mode.elc ../lisp/emacs-lisp/timer.elc ../lisp/vc-hooks.elc ../lisp/jka-cmpr-hook.elc ../lisp/ediff-hook.elc ../lisp/widget.elc ../lisp/window.elc ../lisp/version.el
LC_ALL=C ./temacs -batch -l loadup dump
make[1]: *** [emacs] Killed
make[1]: Leaving directory `/var/tmp/portage/app-editors/emacs-22.3/work/emacs-22.3/src'
make: *** [src] Error 2


and PAX:

Code:
PAX: execution attempt in: <NULL>, 00000000-00000000 00000000
PAX: terminating task: /var/tmp/portage/app-editors/emacs-22.3/work/emacs-22.3/src/temacs(temacs):5009, uid/euid: 0/0, PC: 00000000, SP: 28d40184
PAX: bytes at PC: ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
PAX: bytes at SP-4:

okey will try something else.
it is trying to link with no pic objects and some of the objecs need to be nopic :(
_________________
gcc version 6.1.0 (Gentoo Hardened 6.1.0 p1.1)
Back to top
View user's profile Send private message
zorry
Developer
Developer


Joined: 30 Mar 2008
Posts: 380
Location: Umeå The north part of scandinavia

PostPosted: Fri Sep 26, 2008 11:44 pm    Post subject: Reply with quote

sys-devel/gettext 0.17-r1 is in portage with fix for O_CREAT :)
_________________
gcc version 6.1.0 (Gentoo Hardened 6.1.0 p1.1)
Back to top
View user's profile Send private message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3789
Location: sleeping in the bathtub

PostPosted: Tue Sep 30, 2008 7:12 pm    Post subject: Reply with quote

Just a quick question, if I just wanted gcc 4.2.4 and glibc 2.7, then the gcc and glibc ebuilds and the three eclasses are the only things I should need from the overlay, right?

Should binutil's "libiberty.h-asprintf-glibc-2.8.patch" be needed with glibc 2.7?
_________________
"You have to invite me in"
Back to top
View user's profile Send private message
zorry
Developer
Developer


Joined: 30 Mar 2008
Posts: 380
Location: Umeå The north part of scandinavia

PostPosted: Tue Sep 30, 2008 10:28 pm    Post subject: Reply with quote

Hopeless wrote:
Just a quick question, if I just wanted gcc 4.2.4 and glibc 2.7, then the gcc and glibc ebuilds and the three eclasses are the only things I should need from the overlay, right?

Should binutil's "libiberty.h-asprintf-glibc-2.8.patch" be needed with glibc 2.7?

For glibc 2.7 only the gcc, glibc, grub, e2fsprogs and the eclases is needed.
_________________
gcc version 6.1.0 (Gentoo Hardened 6.1.0 p1.1)
Back to top
View user's profile Send private message
zorry
Developer
Developer


Joined: 30 Mar 2008
Posts: 380
Location: Umeå The north part of scandinavia

PostPosted: Tue Sep 30, 2008 10:42 pm    Post subject: Reply with quote

The trac have moved to https://hardened.gentooexperimental.org/trac/secure
_________________
gcc version 6.1.0 (Gentoo Hardened 6.1.0 p1.1)
Back to top
View user's profile Send private message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3789
Location: sleeping in the bathtub

PostPosted: Tue Sep 30, 2008 10:54 pm    Post subject: Reply with quote

zorry wrote:
Hopeless wrote:
Just a quick question, if I just wanted gcc 4.2.4 and glibc 2.7, then the gcc and glibc ebuilds and the three eclasses are the only things I should need from the overlay, right?

Should binutil's "libiberty.h-asprintf-glibc-2.8.patch" be needed with glibc 2.7?

For glibc 2.7 only the gcc, glibc, grub, e2fsprogs and the eclases is needed.
Thanks, I had figured out I needed e2fsprogs (yeah, the hard way), and I'm using non-multilib so it'll be grub-static for me.

One thing though, I needed binutils from the overlay as well, because the libiberty.h patch is actually applied in the eclass, meaning binutils-2.18-r3 in portage attempts to apply it too but fails.
_________________
"You have to invite me in"
Back to top
View user's profile Send private message
zorry
Developer
Developer


Joined: 30 Mar 2008
Posts: 380
Location: Umeå The north part of scandinavia

PostPosted: Wed Oct 01, 2008 1:00 am    Post subject: Reply with quote

@radegand
Did hack the Makefile in src to change the start-file from crt1.o to Scrt1.o
and did hit app-editors/emacs-22.3 segmentation fault when dumping emacs
Code:

Finding pointers to doc strings...
Finding pointers to doc strings...done
Dumping under names emacs and emacs-22.3.1
make[1]: *** [emacs] Segmentation fault

_________________
gcc version 6.1.0 (Gentoo Hardened 6.1.0 p1.1)
Back to top
View user's profile Send private message
alexxy
Developer
Developer


Joined: 28 Jun 2005
Posts: 50
Location: Gatchina, St. Petersburg, Russia

PostPosted: Wed Oct 01, 2008 9:37 am    Post subject: Reply with quote

Manifest for gcc-4.3.2-r1 seems broken in overlay
Code:

('Filesize does not match recorded size', 10111, 9301)
!!! Fetched file: gcc-4.3.2-patches-1.0.tar.bz2 VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      10111
!!! Expected: 9301
Refetching... File renamed to '/usr/portage/distfiles/gcc-4.3.2-patches-1.0.tar.bz2._checksum_failure_.0mr4na'

_________________
Gentoo Team Russia
Working on Gentoo for iPAQ hx4700
Back to top
View user's profile Send private message
zorry
Developer
Developer


Joined: 30 Mar 2008
Posts: 380
Location: Umeå The north part of scandinavia

PostPosted: Wed Oct 01, 2008 11:24 am    Post subject: Reply with quote

alexxy wrote:
Manifest for gcc-4.3.2-r1 seems broken in overlay
Code:

('Filesize does not match recorded size', 10111, 9301)
!!! Fetched file: gcc-4.3.2-patches-1.0.tar.bz2 VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      10111
!!! Expected: 9301
Refetching... File renamed to '/usr/portage/distfiles/gcc-4.3.2-patches-1.0.tar.bz2._checksum_failure_.0mr4na'

Fixed
The patches for gcc-4.3.2 is in portage and i don't need them in the overlay now :)
_________________
gcc version 6.1.0 (Gentoo Hardened 6.1.0 p1.1)
Back to top
View user's profile Send private message
zorry
Developer
Developer


Joined: 30 Mar 2008
Posts: 380
Location: Umeå The north part of scandinavia

PostPosted: Thu Oct 02, 2008 11:15 am    Post subject: Reply with quote

Re: randomized stack protector value
_________________
gcc version 6.1.0 (Gentoo Hardened 6.1.0 p1.1)
Back to top
View user's profile Send private message
zorry
Developer
Developer


Joined: 30 Mar 2008
Posts: 380
Location: Umeå The north part of scandinavia

PostPosted: Mon Oct 06, 2008 9:04 pm    Post subject: Reply with quote

sys-fs/e2fsprogs-1.40 fails to compile on x86_64 and textrel on x86 in tst_uuid Hardened gcc4 Is closed with RESOLVED CANTFIX by solar :evil:
Fine with me but don't expect to see me in #gentoo-hardened.
If KEVQUINN and PSM work had bin in the portage tree when e2fsprogs change the code in libuuid thay wold have hit tha same bug!
PSM toolchain did hit tha same bug to.
And no help from solar so i could try to fix it only broken toolchain.....
Quote:

solar:
I would assert there is an error at this time in the gcc-4.x experimental branch

So PSM toolchain is b0rked to :?: We do not do the hardened gcc 3.x pie way
Quote:

PIEWORLD
Creates a system where essentially everything that isn't a shared library, is built -fPIE (for position independent executables). The resulting system can't be used easily to built pure vanilla stuff - simplest to use a vanilla chroot for that. However the system is consistent, and reliably builds hardened stuff in normal circumstances. Note that "static" binaries work; although they contain position independent code they are loaded at a fixed address, they are standalone, and execute fine.

I did get some help from the start and some feed back but later on no more help.
Thanx for the help of the rest of the hardened team.
Was willing to become a dev or a sub dev later on but now a don't.
Will be in #friendly-coders

PS: got vanila gcc 4.4 to compile and i working on a new piepatch.
_________________
gcc version 6.1.0 (Gentoo Hardened 6.1.0 p1.1)
Back to top
View user's profile Send private message
steveL
Watchman
Watchman


Joined: 13 Sep 2006
Posts: 5153
Location: The Peanut Gallery

PostPosted: Mon Oct 06, 2008 11:33 pm    Post subject: Reply with quote

Don't worry, Zorry we still love you ;-)
Back to top
View user's profile Send private message
zorry
Developer
Developer


Joined: 30 Mar 2008
Posts: 380
Location: Umeå The north part of scandinavia

PostPosted: Mon Oct 06, 2008 11:58 pm    Post subject: Reply with quote

steveL wrote:
Don't worry, Zorry we still love you ;-)

:D
_________________
gcc version 6.1.0 (Gentoo Hardened 6.1.0 p1.1)
Back to top
View user's profile Send private message
forsaken1
n00b
n00b


Joined: 30 May 2008
Posts: 27
Location: Lovely Skåne, Sweden

PostPosted: Wed Oct 08, 2008 1:11 pm    Post subject: Reply with quote

If you yank one of solar's piercings he might be more helpful .. or not :P
Back to top
View user's profile Send private message
radegand
n00b
n00b


Joined: 22 Aug 2008
Posts: 45
Location: Poland

PostPosted: Wed Oct 08, 2008 8:52 pm    Post subject: Reply with quote

zorry wrote:
@radegand
Did hack the Makefile in src to change the start-file from crt1.o to Scrt1.o
and did hit app-editors/emacs-22.3 segmentation fault when dumping emacs
Code:

Finding pointers to doc strings...
Finding pointers to doc strings...done
Dumping under names emacs and emacs-22.3.1
make[1]: *** [emacs] Segmentation fault


I'm afraid I don't know what and how do I need to do the hack...:( modify the .ebuild to patch the Makefile? What exactly do I need to change?
Back to top
View user's profile Send private message
zorry
Developer
Developer


Joined: 30 Mar 2008
Posts: 380
Location: Umeå The north part of scandinavia

PostPosted: Fri Oct 10, 2008 2:10 pm    Post subject: Reply with quote

radegand wrote:
zorry wrote:
@radegand
Did hack the Makefile in src to change the start-file from crt1.o to Scrt1.o
and did hit app-editors/emacs-22.3 segmentation fault when dumping emacs
Code:

Finding pointers to doc strings...
Finding pointers to doc strings...done
Dumping under names emacs and emacs-22.3.1
make[1]: *** [emacs] Segmentation fault


I'm afraid I don't know what and how do I need to do the hack...:( modify the .ebuild to patch the Makefile? What exactly do I need to change?

Tray this
Add filter-flags -fPIE in the ebuild
Code:

src_compile() {
+   filter-flags -fPIE
     export SANDBOX_ON=0

The 236579 bug has nothing to do with hardened.
Haven't have time to fix the error.
Working on an new patch for GCC
_________________
gcc version 6.1.0 (Gentoo Hardened 6.1.0 p1.1)
Back to top
View user's profile Send private message
Dwokfur
Tux's lil' helper
Tux's lil' helper


Joined: 15 Sep 2006
Posts: 85
Location: Budapest, Hungary, Europe

PostPosted: Tue Oct 14, 2008 6:34 am    Post subject: Reply with quote

steveL wrote:
Don't worry, Zorry we still love you ;-)


We will never give up, zorry!

Emacs will never become hardened-compatible unless a secure implementation of lisp will appear.
I addressed this idea to a lisp fan, and I got the answer, that my expectations are unreal, and that security is not covered by the philosophy of the lisp concept. That was the point I dropped lisp from my installation.

Regards,
Dw.
Back to top
View user's profile Send private message
zorry
Developer
Developer


Joined: 30 Mar 2008
Posts: 380
Location: Umeå The north part of scandinavia

PostPosted: Wed Oct 15, 2008 12:31 am    Post subject: Reply with quote

Code:

Wrote /var/tmp/portage/app-editors/emacs-22.3/work/emacs-22.3/leim/leim-list.el
Updating /var/tmp/portage/app-editors/emacs-22.3/work/emacs-22.3/leim/leim-list.el ... done
sed -n '/^[^;]/ p' < /var/tmp/portage/app-editors/emacs-22.3/work/emacs-22.3/leim/leim-ext.el >> leim-list.el
make[1]: Leaving directory `/var/tmp/portage/app-editors/emacs-22.3/work/emacs-22.3/leim'ing
>>> Source compiled.

Did get emacs compile on may new piepatch and pie specs.
The pie work as the old gcc 3.4.6 way.
Still need some more test and work on the patch.
_________________
gcc version 6.1.0 (Gentoo Hardened 6.1.0 p1.1)
Back to top
View user's profile Send private message
radegand
n00b
n00b


Joined: 22 Aug 2008
Posts: 45
Location: Poland

PostPosted: Thu Oct 16, 2008 8:55 pm    Post subject: Reply with quote

zorry wrote:

Tray this
Add filter-flags -fPIE in the ebuild


Zorry,
still no luck, segmentation fault during compilation...don't worry - I can easily live without emacs! :wink: and you have probably more important and interesting things to fix... :) especially if it seems un-fixable for now...Thanks for help anyway.

I've been using the 4.2.4 hardened for quite a while now without any significant issues (apart from standard gentoo issues every know and then ;) ). I'm running one on desktop and the other one on laptop (both in daily use pretty much) - both on 2.6.26-hardened with PAX set to gentoo-workstation - all smooth and nice...wireless, vmware, qemu+kvm,nvidia with glx...! Setting quemu+kvm on one of them rite now just to give the 4.3 a go...awesome stuff! :lol: Sounds like time to try some common exploits just to make sure.... ;)

Found some issues compiling openoffice with the hardened specs but again - is it worth reporting? for now just compiled with vanilla specs - it takes ages anyway...and I guess it's some java stuff too so might be not-fixable again...:(

Nevertheless - great job! :)
Back to top
View user's profile Send private message
steveL
Watchman
Watchman


Joined: 13 Sep 2006
Posts: 5153
Location: The Peanut Gallery

PostPosted: Fri Oct 17, 2008 9:56 am    Post subject: Reply with quote

radegand wrote:
Found some issues compiling openoffice with the hardened specs but again - is it worth reporting? for now just compiled with vanilla specs - it takes ages anyway...and I guess it's some java stuff too so might be not-fixable again...:(

It's always worth reporting; even if we end up marking it 'later' or 'upstream' it helps other users who might run up against the same issues. And who knows, we might even fix it at some point ;-)

(Though it'd prob'y have to stay in the overlay given the willingness of Gentoo to take user work on board.)
Back to top
View user's profile Send private message
zorry
Developer
Developer


Joined: 30 Mar 2008
Posts: 380
Location: Umeå The north part of scandinavia

PostPosted: Fri Oct 17, 2008 10:12 am    Post subject: Reply with quote

steveL wrote:
radegand wrote:
Found some issues compiling openoffice with the hardened specs but again - is it worth reporting? for now just compiled with vanilla specs - it takes ages anyway...and I guess it's some java stuff too so might be not-fixable again...:(

It's always worth reporting; even if we end up marking it 'later' or 'upstream' it helps other users who might run up against the same issues. And who knows, we might even fix it at some point ;-)

(Though it'd prob'y have to stay in the overlay given the willingness of Gentoo to take user work on board.)

I think dw have OOO working somewher in this tread.
If you want to learn gcc spec Specifying subprocesses and the switches to pass to them thanx steveL for the link.
I hop i will have a new piepatch, minispec and a working toolchain this weekend.
_________________
gcc version 6.1.0 (Gentoo Hardened 6.1.0 p1.1)
Back to top
View user's profile Send private message
apfritts
Apprentice
Apprentice


Joined: 11 Sep 2004
Posts: 156
Location: Mountain View, California, USA

PostPosted: Fri Oct 17, 2008 5:32 pm    Post subject: Reply with quote

Hi Guys,

I started working through the tutorial and everything seemed to be going well until I tried rebuilding GCC 4.3. I thought it might be because I was using an older version of Portage, but I upgraded and that didn't help. Here is the error message I get:

Code:
 * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
 *
 *   /usr/portage/sys-devel/gcc/files/4.2.0/gcc-4.2.0-cc1-no-stack-protector.patch
 *   ( gcc-4.2.0-cc1-no-stack-protector.patch )
 *
 * ERROR: sys-devel/gcc-4.3.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_unpack
 *             environment, line 4800:  Called gcc_src_unpack
 *             environment, line 3120:  Called do_gcc_SSP_patches
 *             environment, line 1252:  Called epatch 'src_unpack'
 *             environment, line 1992:  Called die
 * The specific snippet of code:
 *                   die "Cannot find \$EPATCH_SOURCE!";
 *  The die message:
 *   Cannot find $EPATCH_SOURCE!
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/sys-devel:gcc-4.3.2:20081016-180452.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-4.3.2/temp/environment'.
 * This ebuild used the following eclasses from overlays:
 *   /usr/local/toolchain-overlay/eclass/toolchain.eclass
 *   /usr/local/toolchain-overlay/eclass/toolchain-funcs.eclass
 *   /usr/local/toolchain-overlay/eclass/flag-o-matic.eclass


emerge --info

Code:
Portage 2.1.4.5 (hardened/linux/amd64/2008.0, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.26-gentoo-r1 x86_64 Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz
Timestamp of tree: Thu, 16 Oct 2008 17:30:01 +0000
app-shells/bash:     3.2_p33
dev-lang/python:     2.5.2-r5
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r2
sys-devel/automake:  1.10.1
sys-devel/binutils:  2.18-r4
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS=" /usr/local/toolchain-overlay/distfiles"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--warn-once,--hash-style=gnu"
LINGUAS="en_US en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/toolchain-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl amd64 berkdb bzip2 cli cracklib crypt cups dri gdbm gpm hardened iconv isdnlog justify midi mmx mudflap multilib ncurses nptl nptlonly openmp pam pcre perl pic pppd python readline reflection session spl sse sse2 ssl sysfs tcpd urandom xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Goto page Previous  1, 2, 3 ... 17, 18, 19 ... 28, 29, 30  Next
Page 18 of 30

 
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