The usual IT babble
Posts tagged Gentoo/Hardened
packages.barfoo.org is going away
Jan 18th
For those of you, still using my binary packages. It’s just a waste of disk space for me (6.8G to be exact), so I decided to remove them. I’m gonna give people one week to grab yourself a copy. I’m gonna keep the bashrc and all the other stuff I wrote back when I was still interested in binary packages, but the binary packages are gonna vanish!
Again, grab yourself a copy if you need them, at some point next week (probably on Friday), I’m simply gonna rm -rf them.
Saying thank you
Apr 8th
As I’m way better writing stuff than saying it with my own words, here a short “Thank you!“
- Christel, you have been a gracious and honest person, thanks for all the advice and help in the last year
- Chrissy, thanks for the inspiring words, you really made/make me feel better
- Alec (antarus), you’ve been a real friend and to say it with your own words “It sucks to be you”; to phrase it differently, I’m really going to miss you
- Bryan, thanks for all the help, thanks for all the fun at FOSDEM (and after FOSDEM, hah)
- Ned, Alexander (pappy); you’ve both been an inspiration, thanks for letting me work on hardened foo; it has been real fun
- Mike (vapier), thanks for being a smart ass and inspiration at the same time
- Chris, thanks for the inspiration and for being a sarcastic person
- Andrew, thanks for trying to make a fun out of me
and thanks for warning me of Chris’s sarcasm
Gentoo/hardened and the new toolchain
Feb 26th
OK, as some of you have noticed; I prepared my box for the new toolchain, recompiled the stuff Kevin mentioned in the exact same order wrote down in his README, and it looks like it actually works with all my stuff I have on my box; except sys-libs/grub! *sigh*
Apparently, grub segfaults at boot and/or while running it from the chroot in the exact same spot, the new QA warnings complain about ..
* QA Notice: Package has poor programming practices which may compile
* fine but exhibit random runtime failures.
* char_io.c:181: warning: dereferencing type-punned pointer will break strict-aliasing rules
char_io.c:222: warning: dereferencing type-punned pointer will break strict-aliasing rules
builtins.c:4862: warning: dereferencing type-punned pointer will break strict-aliasing rules
disk_io.c:1027: warning: dereferencing type-punned pointer will break strict-aliasing rules
disk_io.c:1057: warning: dereferencing type-punned pointer will break strict-aliasing rules
tparm.c:719: warning: dereferencing type-punned pointer will break strict-aliasing rules
char_io.c:181: warning: dereferencing type-punned pointer will break strict-aliasing rules
char_io.c:222: warning: dereferencing type-punned pointer will break strict-aliasing rules
builtins.c:4862: warning: dereferencing type-punned pointer will break strict-aliasing rules
disk_io.c:1027: warning: dereferencing type-punned pointer will break strict-aliasing rules
disk_io.c:1057: warning: dereferencing type-punned pointer will break strict-aliasing rules
tparm.c:719: warning: dereferencing type-punned pointer will break strict-aliasing rules
char_io.c:181: warning: dereferencing type-punned pointer will break strict-aliasing rules
char_io.c:181: warning: dereferencing type-punned pointer will break strict-aliasing rules
char_io.c:181: warning: dereferencing type-punned pointer will break strict-aliasing rules
char_io.c:181: warning: dereferencing type-punned pointer will break strict-aliasing rules
char_io.c:181: warning: dereferencing type-punned pointer will break strict-aliasing rules
char_io.c:181: warning: dereferencing type-punned pointer will break strict-aliasing rules
char_io.c:181: warning: dereferencing type-punned pointer will break strict-aliasing rules
char_io.c:181: warning: dereferencing type-punned pointer will break strict-aliasing rules
char_io.c:181: warning: dereferencing type-punned pointer will break strict-aliasing rules
char_io.c:181: warning: dereferencing type-punned pointer will break strict-aliasing rules
So, I unpacked the libc and grub debug files, to get a clue where it’s failing and fed the program execution into gdb and viola:
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1".
(gdb) run
Starting program: /sbin/grub --no-floppy
Program received signal SIGSEGV, Segmentation fault.
grub_putstr (str=0xa1660489) at char_io.c:174
in char_io.c
(gdb) quit
The program is running. Exit anyway? (y or n)
I’m not yet sure if it really is the same spot, but I’ll let Kevin have a shot at it …