Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gcc-4.2.3 *bugfixes*
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 5679
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Tue Feb 05, 2008 12:35 pm    Post subject: gcc-4.2.3 *bugfixes* Reply with quote

Hi,

gcc 4.2.3 got released february 1st,

let's see how long the gentoo devs need under these changed circumstances for a new ebuild :wink:

http://gcc.gnu.org/ml/gcc-announce/2008/msg00000.html

gcc-4.2.3-r1.ebuild (with hardened/pie support):

http://pastebin.ch/94

here a link to kevquinn's overlay, that way you should find the needed files earlier:

http://overlays.gentoo.org/dev/kevquinn/wiki
_________________
Unofficial minimal livecd x86/amd64 w/reiser4+truecrypt (by Neo2)
2.6.37.2_plus_v1: BFS, CFS,THP,compaction, zcache or TOI
Hardcore Linux user since 2004 :D


Last edited by kernelOfTruth on Sun Feb 10, 2008 12:08 am; edited 2 times in total
Back to top
View user's profile Send private message
dodo1122
Guru
Guru


Joined: 02 Sep 2006
Posts: 347
Location: York, England

PostPosted: Tue Feb 05, 2008 2:28 pm    Post subject: Reply with quote

I renamed and redigested the 4.2.2 ebuild the very same day 4.2.3 came out, and it compiled. I use it along with gcc43 atm.


dodo
_________________
#zen-sources on irc.rizon.net
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 5679
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Tue Feb 05, 2008 3:02 pm    Post subject: Reply with quote

hm, strange I only get:

Quote:
/usr/x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/sys-devel/gcc-4.2.3-r1/work/build/./prev-gcc/crtbegin.o: relocation R_X86_64_32 against `_Jv_RegisterClasses' can not be used when making a shared object; recompile with -fPIC
/var/tmp/portage/sys-devel/gcc-4.2.3-r1/work/build/./prev-gcc/crtbegin.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
configure:2124: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2163: error: C compiler cannot create executables
See `config.log' for more details.


configure: exit 77

sys-devel/gcc-4.2.3-r1/work/build/intl/config.log

and
Quote:
checking for x86_64-pc-linux-gnu-gcc... /var/tmp/portage/sys-devel/gcc-4.2.3-r1/work/build/./prev-gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.2.3-r1/work/build/./prev-gcc/ -B/usr/x86_64-pc-linux-gnu/bin/
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
make[2]: *** [configure-stageprofile-intl] Error 77
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.2.3-r1/work/build'
make[1]: *** [stageprofile-bubble] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.2.3-r1/work/build'
make: *** [profiledbootstrap] Error 2
*
* ERROR: sys-devel/gcc-4.2.3-r1 failed.
* Call stack:
* ebuild.sh, line 46: Called src_compile
* environment, line 4595: Called toolchain_src_compile
* environment, line 5066: Called gcc_src_compile
* environment, line 2932: Called gcc_do_make
* environment, line 2762: Called die
* The specific snippet of code:
* emake LDFLAGS="${LDFLAGS}" STAGE1_CFLAGS="${STAGE1_CFLAGS}" LIBPATH="${LIBPATH}" BOOT_CFLAGS="${BOOT_CFLAGS}" ${GCC_MAKE_TARGET} || diefunc "$FUNCNAME" "$LINENO" "$?" "emake failed with ${GCC_MAKE_TARGET}";
* The die message:
* emake failed with profiledbootstrap
*
* If you need support, post the topmost build error, and the call stack if relevant.

_________________
Unofficial minimal livecd x86/amd64 w/reiser4+truecrypt (by Neo2)
2.6.37.2_plus_v1: BFS, CFS,THP,compaction, zcache or TOI
Hardcore Linux user since 2004 :D
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 5679
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Tue Feb 05, 2008 3:20 pm    Post subject: Reply with quote

Quote:
recompile with -fPIC


reading the logs seems to help :roll:

it at least continues now at that point :lol:

NOTE: this ebuild supports hardened/pie
_________________
Unofficial minimal livecd x86/amd64 w/reiser4+truecrypt (by Neo2)
2.6.37.2_plus_v1: BFS, CFS,THP,compaction, zcache or TOI
Hardcore Linux user since 2004 :D
Back to top
View user's profile Send private message
jcat
Veteran
Veteran


Joined: 26 May 2006
Posts: 1337

PostPosted: Tue Feb 05, 2008 5:02 pm    Post subject: Reply with quote

How is your 4.2.3 ebuild working out?

I notice the ebuild points out there are no patches. Is that because there are no bugs noticed and fixed as yet? Doesn't Pie support require a patch?


Sorry for all the questions. I'm just in the process of building a web/email server using Gentoo SELinux Hardened, and I don't want to use GCC 3.x, I want ot use GCC 4.x.

I looked at the peiworld overlay, but it seemed a little messy, it looked like you had to copy the distfiles and eclass file into the main tree before you could use it. Is this ebuild a viable alternative?

..and any idea why it taken so long for GCC 4.x to appear in portage with hardened support??

Thanks for any info! 8)



Cheers,
jcat
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 5679
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Tue Feb 05, 2008 5:19 pm    Post subject: Reply with quote

it's working fine, I'm currently recompiling it with all the little features I need (gtk, mudflap, gcj),

for building gcc-4 w. hardened you first need to build a gcc-release without hardened-support (e.g. 4.2.0), then build the hardened one with -fPIC

you perhaps might run into problems (I did when trying install hardened on amd64, my profile is default-linux + unmasked hardened use-flags)

get yourself my gcc-overlay:
http://kerneloftruth.neucode.org/other/gcc.tbz2 add the new gcc overlay (4.2.3-r1) and add the 4.2.3-r1.ebuild, then digest the ebuild

obtain the required piepatch from kevquinn's overlay (currently I can't google it up: gcc-4.2.0-piepatches-v9.0.7.tar.bz2), that should be enough

that piepatch / profiles work fine with both x86 & amd64, haven't tried other arches though

I need to focus on study, so I hope that's enough information

edit:
here's the list of apps I have installed (which compiled well with gcc-4.2*):

Code:
app-admin/hddtemp
app-admin/ide-smart
app-admin/localepurge
app-admin/logrotate
app-admin/logsentry
app-admin/mcelog
app-admin/paxtest
app-admin/python-updater
app-admin/sudo
app-admin/syslog-ng
app-admin/usbview
app-antivirus/bitdefender-console
app-arch/alien
app-arch/arc
app-arch/arj
app-arch/deb2targz
app-arch/dpkg
app-arch/lha
app-arch/pbzip2
app-arch/rar
app-arch/rpm
app-arch/unace
app-arch/unarj
app-arch/unrar
app-arch/upx
app-arch/zoo
app-cdr/bin2iso
app-cdr/brasero
app-cdr/ccd2iso
app-cdr/dvdisaster
app-cdr/graveman
app-cdr/k3b
app-cdr/kiso
app-cdr/mdf2iso
app-cdr/nrg2iso
app-cdr/qpxtool
app-crypt/bcwipe
app-crypt/johntheripper
app-crypt/rainbowcrack
app-crypt/seahorse
app-dicts/aspell-de
app-dicts/aspell-en
app-dicts/aspell-fr
app-dicts/myspell-de
app-dicts/myspell-en
app-dicts/myspell-fr
app-editors/gvim
app-editors/vim
app-emulation/virtualbox-bin
app-emulation/virtualbox-modules
app-forensics/aide
app-forensics/autopsy
app-forensics/chkrootkit
app-forensics/rkhunter
app-forensics/sleuthkit
app-laptop/laptop-mode-tools
app-misc/grc
app-misc/linux-logo
app-misc/mc
app-misc/pinot
app-misc/recoll
app-misc/screen
app-misc/tomboy
app-misc/vlock
app-misc/wipe
app-mobilephone/gnome-phone-manager
app-mobilephone/kmobiletools
app-office/abiword
app-office/abiword-plugins
app-office/openoffice
app-office/scribus
app-pda/gtkpod
app-portage/eix
app-portage/genlop
app-portage/gentoolkit
app-portage/gentoolkit-dev
app-portage/layman
app-portage/mirrorselect
app-portage/porthole
app-portage/udept
app-shells/tcsh
app-text/a2ps
app-text/acroread
app-text/antiword
app-text/bibus
app-text/catdoc
app-text/flpsed
app-text/gentoo-guide-xml-dtd
app-text/htmldoc
app-text/pdftk
app-text/pstotext
app-text/unrtf
app-text/xpdf
dev-cpp/libsexymm
dev-lang/ifc
dev-lang/php
dev-libs/STLport
dev-libs/boost
dev-libs/dbus-qt3-old
dev-libs/libpcre
dev-libs/libtextcat
dev-php/PEAR-Image_Canvas
dev-php/PEAR-Image_Color
dev-php/PEAR-Image_Graph
dev-php/PEAR-Numbers_Roman
dev-php/PEAR-PEAR
dev-php/adodb
dev-php/smarty
dev-php5/adodb-ext
dev-php5/jpgraph
dev-php5/pecl-apc
dev-python/PyQt
dev-python/compizconfig-python
dev-python/gst-python
dev-tex/dvipost
dev-util/cvs
dev-util/git
dev-util/kdesvn
dev-util/mercurial
dev-util/qgit
dev-util/strace
dev-util/subversion
dev-util/valgrind
gnome-base/gnome
gnome-extra/avant-window-navigator
gnome-extra/avant-window-navigator-extras
gnome-extra/gcursor
gnome-extra/gnome-vfs-obexftp
gnome-extra/gsynaptics
gnome-extra/hal-device-manager
gnome-extra/hardware-monitor
gnome-extra/intlclock-applet
gnome-extra/nm-applet
gnome-extra/sensors-applet
kde-base/kde-i18n
kde-base/kde:kde-svn
kde-base/kdesdk-meta
kde-base/umbrello
kde-misc/dolphin
kde-misc/extragear-plasma
kde-misc/kdiff3
kde-misc/kdissert
kde-misc/kexchange
kde-misc/kima
kde-misc/kio_p7zip
kde-misc/knetworkmanager
kde-misc/ksensors
mail-client/mozilla-thunderbird-bin
mail-client/mutt
mail-client/nmh
mail-client/sylpheed
mail-filter/procmail
mail-mta/postfix
media-fonts/acroread-asianfonts
media-fonts/aquafont
media-fonts/aquapfont
media-fonts/artwiz-fonts
media-fonts/corefonts
media-fonts/dejavu
media-fonts/fireflysung
media-fonts/font-isas-misc
media-fonts/freefonts
media-fonts/hkscs-ming
media-fonts/intlfonts
media-fonts/ja-ipafonts
media-fonts/jisx0213-fonts
media-fonts/liberation-fonts-ttf
media-fonts/mathematica-fonts
media-fonts/mikachan-font
media-fonts/sharefonts
media-fonts/terminus-font
media-fonts/texcm-ttf
media-fonts/ttf-gentium
media-fonts/unifont
media-fonts/urw-fonts
media-fonts/urwvn-fonts
media-gfx/f-spot
media-gfx/gfxboot
media-gfx/gimp-print
media-gfx/inkscape
media-gfx/sane-backends
media-gfx/sane-frontends
media-gfx/xsane
media-libs/amd64codecs
media-libs/gd
media-libs/gst-plugins-bad
media-libs/gst-plugins-good
media-libs/gst-plugins-ugly
media-libs/libiec61883
media-libs/libmikmod
media-libs/libofa
media-libs/libpng
media-libs/swfdec
media-libs/taglib
media-plugins/gst-plugins-annodex
media-plugins/gst-plugins-cdio
media-plugins/gst-plugins-dv
media-plugins/gst-plugins-dvdread
media-plugins/gst-plugins-faac
media-plugins/gst-plugins-faad
media-plugins/gst-plugins-farsight
media-plugins/gst-plugins-ffmpeg
media-plugins/gst-plugins-fluendo-mpegdemux
media-plugins/gst-plugins-gnomevfs
media-plugins/gst-plugins-jpeg
media-plugins/gst-plugins-lame
media-plugins/gst-plugins-libmms
media-plugins/gst-plugins-libpng
media-plugins/gst-plugins-libvisual
media-plugins/gst-plugins-mpeg2dec
media-plugins/gst-plugins-neon
media-plugins/gst-plugins-sidplay
media-plugins/gst-plugins-taglib
media-plugins/gst-plugins-v4l2
media-sound/alsa-utils
media-sound/audacity
media-sound/aumix
media-sound/bmpx
media-sound/fmtools
media-sound/gpodder
media-sound/grip
media-sound/icecream
media-sound/mpg123
media-sound/streamripper
media-tv/xawtv
media-video/cheese
media-video/kaffeine
media-video/mplayer
media-video/realplayer
media-video/vlc
media-video/xine-ui
net-analyzer/base
net-analyzer/metasploit
net-analyzer/nmap
net-analyzer/oinkmaster
net-analyzer/portsentry
net-analyzer/snort
net-analyzer/sshdfilter
net-analyzer/sussen
net-dialup/kdsl
net-dialup/ppp
net-dialup/pppconfig
net-dialup/rp-pppoe
net-dialup/rppppoek
net-firewall/fwbuilder
net-firewall/guarddog
net-ftp/gftp
net-ftp/kftpgrabber
net-im/pidgin
net-im/skype
net-irc/xchat
net-libs/libjingle
net-mail/fetchmail
net-mail/metamail
net-misc/dhcpcd
net-misc/knock
net-misc/networkmanager-vpnc
net-misc/ntp
net-p2p/azureus
net-p2p/valknut
net-print/cups-pdf
net-print/foomatic-db
net-print/samsung-mfp-bin
net-proxy/polipo
net-wireless/bluez-utils
net-wireless/gnome-bluetooth
net-wireless/iwl3945-ucode
net-wireless/ndiswrapper
net-wireless/wifi-radar
net-wireless/wireless-tools
net-wireless/wpa_supplicant
net-www/mplayerplug-in
net-www/netscape-flash
net-www/nspluginwrapper
sys-apps/acl
sys-apps/fakeroot
sys-apps/hotplug
sys-apps/irqbalance
sys-apps/lshw
sys-apps/memtest86
sys-apps/memtest86+
sys-apps/paludis
sys-apps/pkgcore
sys-apps/readahead-list
sys-apps/sdparm
sys-apps/slocate
sys-apps/smartmontools
sys-apps/v86d
sys-apps/vbetool
sys-apps/watchdog
sys-block/gparted
sys-boot/grub
sys-boot/syslinux
sys-fs/ddrescue
sys-fs/dosfstools
sys-fs/jfsutils
sys-fs/ntfs3g
sys-fs/ntfsprogs
sys-fs/reiser4progs
sys-fs/reiserfsprogs
sys-fs/squashfs-tools
sys-fs/udftools
sys-fs/xfsprogs
sys-kernel/kerneloops
sys-kernel/module-rebuild
sys-libs/libsmbios
sys-power/acpi
sys-power/acpid
sys-power/acpitool
sys-power/cpufreqd
sys-power/hibernate-script
sys-power/kpowersave
sys-power/powermgmt-base
sys-power/powertop
sys-process/anacron
sys-process/htop
sys-process/vixie-cron
www-apache/mod_security
www-apache/mod_suphp
www-apps/phpsysinfo
www-client/elinks
www-client/epiphany-extensions
www-client/httrack
www-client/links
www-client/mozilla-firefox
www-client/mozilla-firefox-bin
www-client/opera
www-servers/apache
x11-apps/ccsm
x11-apps/mesa-progs
x11-apps/xhost
x11-drivers/nvidia-drivers
x11-libs/compiz-bcop
x11-libs/compizconfig-backend-gconf
x11-libs/compizconfig-backend-kconfig
x11-libs/libXcomposite
x11-libs/libcompizconfig
x11-misc/cairo-clock
x11-misc/dekorator
x11-misc/glipper
x11-misc/googleearth
x11-misc/grsync
x11-misc/rss-glx
x11-misc/xscreensaver
x11-plugins/compiz-fusion-plugins-extra
x11-plugins/compiz-fusion-plugins-main
x11-plugins/compiz-fusion-plugins-unsupported
x11-plugins/pidgin-encryption
x11-plugins/pidgin-extprefs
x11-themes/crystal
x11-themes/domino
x11-themes/emerald-themes
x11-themes/gtk-engines-qt
x11-themes/gtk-engines-qtcurve
x11-themes/qtcurve
x11-themes/qtcurve-qt4
x11-themes/tango-icon-theme
x11-themes/tango-icon-theme-extras
x11-wm/blackbox
x11-wm/compiz
x11-wm/compiz-fusion
x11-wm/emerald
x11-wm/fluxbox
xfce-base/xfce4
xfce-extra/xfce4-sensors
xfce-extra/xfce4-xfapplet

_________________
Unofficial minimal livecd x86/amd64 w/reiser4+truecrypt (by Neo2)
2.6.37.2_plus_v1: BFS, CFS,THP,compaction, zcache or TOI
Hardcore Linux user since 2004 :D
Back to top
View user's profile Send private message
jcat
Veteran
Veteran


Joined: 26 May 2006
Posts: 1337

PostPosted: Tue Feb 05, 2008 5:32 pm    Post subject: Reply with quote

kernelOfTruth wrote:

for building gcc-4 w. hardened you first need to build a gcc-release without hardened-support (e.g. 4.2.0), then build the hardened one with -fPIC


Thanks for the reply! :)


I have already built the server using default 2007.0 profile, now I've changed profile to SELinux 2007.0 Hardened, and rebuilt glibc. Of course currently as part of the updates portage wants to downgrade GCC from 4.1.2 to 3.x, hence looking into an overlay type solution to keep with GCC 4.x

So should I upgrade to GCC 4.2.0 non-hardened first, then convert to hardened GCC-4.2.3-r1? Or just go straight from 4.1.2 non-hardened to hardened GCC-4.2.3-r1?

Should I update anything other than glibc and libtool between GCC upgrades? (eventually I will emerge -e world when on the final GCC version).




Cheers,
jcat
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 5679
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Tue Feb 05, 2008 5:44 pm    Post subject: Reply with quote

http://www.gentoo.org/doc/en/gcc-upgrading.xml :wink:

Quote:
So should I upgrade to GCC 4.2.0 non-hardened first, then convert to hardened GCC-4.2.3-r1? Or just go straight from 4.1.2 non-hardened to hardened GCC-4.2.3-r1?

that's just a temporary step, if you're able to compile 4.2.3 via 4.1.2 you can omit compilation of 4.2.0, which did never work out for me until now ...
_________________
Unofficial minimal livecd x86/amd64 w/reiser4+truecrypt (by Neo2)
2.6.37.2_plus_v1: BFS, CFS,THP,compaction, zcache or TOI
Hardcore Linux user since 2004 :D
Back to top
View user's profile Send private message
jcat
Veteran
Veteran


Joined: 26 May 2006
Posts: 1337

PostPosted: Tue Feb 05, 2008 5:54 pm    Post subject: Reply with quote

I have read that doc! :wink:

What I guess I really want to know is, how big an upgrade does it have to be before you need to re-compile the tool chain?

Does, 4.1.x to 4.2.x require a tool chain rebuild?

Does 4.2.x non-hardened to 4.2.x hardened require a tool chain rebuild?

I presume from the dock that 4.2.0 to 4.2.3 requires no tool chain rebuild.


Again, thanks for your help on this. If you just answer my last questions on this I'll let you study!! :lol: :wink:



Cheers,
jcat
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 5679
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Tue Feb 05, 2008 6:01 pm    Post subject: Reply with quote

Quote:
Does, 4.1.x to 4.2.x require a tool chain rebuild?

Does 4.2.x non-hardened to 4.2.x hardened require a tool chain rebuild?


yes & yes (?)

Quote:
I presume from the dock that 4.2.0 to 4.2.3 requires no tool chain rebuild.

if you update from hardened to hardened you should be fine

just my 2ct

if you need deeper information on that please consider & asking a gentoo dev (ideally the ones in charge of gcc and/or toolchain)

Quote:
Again, thanks for your help on this. If you just answer my last questions on this I'll let you study!! :lol: :wink:


great :lol:

now go for it ! show those pussies that hacking a gentoo hardened server is a no-go :twisted: :wink:
_________________
Unofficial minimal livecd x86/amd64 w/reiser4+truecrypt (by Neo2)
2.6.37.2_plus_v1: BFS, CFS,THP,compaction, zcache or TOI
Hardcore Linux user since 2004 :D
Back to top
View user's profile Send private message
Dottout
l33t
l33t


Joined: 07 Mar 2006
Posts: 882

PostPosted: Tue Feb 05, 2008 6:13 pm    Post subject: Reply with quote

I just ask myself.. why do they take so long to put it in portage? its not some big huge majour update..
Back to top
View user's profile Send private message
jcat
Veteran
Veteran


Joined: 26 May 2006
Posts: 1337

PostPosted: Tue Feb 05, 2008 6:17 pm    Post subject: Reply with quote

Dottout wrote:
I just ask myself.. why do they take so long to put it in portage? its not some big huge majour update..


That's what I've been wondering..


Thanks again kernelOfTruth.



Cheers,
jcat
Back to top
View user's profile Send private message
costel78
Apprentice
Apprentice


Joined: 20 Apr 2007
Posts: 195

PostPosted: Wed Feb 06, 2008 9:08 pm    Post subject: Reply with quote

I am unable to find the file gcc-4.2.0-piepatches-v9.0.7.tar.bz2, just gcc-4.2.0-piepatches-v9.0.3.tar.bz2, or gcc-4.1.1-piepatches-v9.0.7.tar.bz2
Please, could somebody to give me to a link ?
Thank you!

Later: Never mind. Just a problem with rapidshare due to dansguardian. Sorry.
_________________
Sorry for my English. I'm still learning this language.
Back to top
View user's profile Send private message
Eckos
Apprentice
Apprentice


Joined: 25 Jan 2008
Posts: 197
Location: Houston, Texas, USA

PostPosted: Thu Feb 07, 2008 7:30 am    Post subject: Reply with quote

i get the same thing :(
Back to top
View user's profile Send private message
jcat
Veteran
Veteran


Joined: 26 May 2006
Posts: 1337

PostPosted: Thu Feb 07, 2008 11:58 am    Post subject: Reply with quote

If you have subversion installed, change to or create and change to a temp directory, and

Code:
svn co http://overlays.gentoo.org/svn/dev/kevquinn/hardened/toolchain

then
Code:
cd toolchain/branches/pieworld/distfiles

you should see the distfiles there. Copy them to /usr/portage/distfiles/

That should work :)



Cheers,
jcat
Back to top
View user's profile Send private message
easy target
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jan 2008
Posts: 134

PostPosted: Thu Feb 07, 2008 1:17 pm    Post subject: Reply with quote

Dottout wrote:
I just ask myself.. why do they take so long to put it in portage? its not some big huge majour update..


Maybe they are rebuilding systems with it to see it works properly? I don't think it's just "change ebuild, check if it builds, release"
Back to top
View user's profile Send private message
jcat
Veteran
Veteran


Joined: 26 May 2006
Posts: 1337

PostPosted: Thu Feb 07, 2008 2:04 pm    Post subject: Reply with quote

easy target wrote:
Dottout wrote:
I just ask myself.. why do they take so long to put it in portage? its not some big huge majour update..


Maybe they are rebuilding systems with it to see it works properly? I don't think it's just "change ebuild, check if it builds, release"


We're talking about a Hardened version of GCC 4.anything! GCC-4.0 has been out since April 2005.

I know it takes a long time to recompile the toolchain and the rest of the system, but how much time do they need!!?! :wink:




Cheers,
jcat
Back to top
View user's profile Send private message
loftwyr
l33t
l33t


Joined: 29 Dec 2004
Posts: 970
Location: 43°38'23.62"N 79°27'8.60"W

PostPosted: Thu Feb 07, 2008 5:58 pm    Post subject: Reply with quote

They need time to ensure that all of the high usage apps aren't broken by it, time to make sure it doesn't create new sandbox issues, time to ensure that new "fixes" don't break current workarounds and require new workarounds, time to check all the packages with and without compiler version specific patches still compile.

The compiler is one of the most core parts of the system. If it breaks stuff, I want them to find out before its released, not after.
_________________
My emerge --info
Have you run revdep-rebuild lately? It's in gentoolkit and it's worth a shot if things don't work well.
Celebrating 5 years of Gentoo-ing.
Back to top
View user's profile Send private message
Dottout
l33t
l33t


Joined: 07 Mar 2006
Posts: 882

PostPosted: Thu Feb 07, 2008 6:32 pm    Post subject: Reply with quote

its 4.2.2 to 4.2.3..not 4.2 to 4.3, come on!! they could put it masked.. nowadays we must use 200 overlays to have latest bleeding edge.. some years ago music was different :(
Back to top
View user's profile Send private message
creidiki
Apprentice
Apprentice


Joined: 23 Mar 2007
Posts: 283
Location: Varese (Italy)

PostPosted: Sat Feb 09, 2008 12:03 am    Post subject: Reply with quote

8 days and counting... version bump request on b.g.o. since the 6th...
_________________
'((eINIT) (soor overlay))
Back to top
View user's profile Send private message
Dottout
l33t
l33t


Joined: 07 Mar 2006
Posts: 882

PostPosted: Sat Feb 09, 2008 7:17 am    Post subject: Reply with quote

then they wonder why ppl complain about current gentoo status..
Back to top
View user's profile Send private message
Thargor
Apprentice
Apprentice


Joined: 23 Dec 2005
Posts: 239
Location: Bamberg/Germany

PostPosted: Sat Feb 09, 2008 9:21 am    Post subject: Reply with quote

:roll:
Watch out for irony! You have been warned!

Hey you fools! Just update it in the tree right now!
I don't care if it breaks or if you would just need one or two more days of testing to ensure that the forums will not get flooded by people with broken toolchains!
I want it right now!!!!111one

</irony>

I know that you are aware of the new release and that you probably will do a version bump. So I am going to wait patiently till you do so. Keep up you great work.

@everyone who can't wait:
Just rename the gcc-4.2.2 ebuild. But don't complain if something does not work...
_________________
Ideas are bulletproof
Back to top
View user's profile Send private message
costel78
Apprentice
Apprentice


Joined: 20 Apr 2007
Posts: 195

PostPosted: Sat Feb 09, 2008 12:12 pm    Post subject: Reply with quote

I compiled gcc-4.2.3-r1 in hardened environment.
In the elog remained a warning:
Code:

SPP was not enabled by default

What should I do to enable SPP or why SPP is not activated by default ?

There are the use flags for gcc:
Code:

localhost portage # emerge -pv gcc

These are the packages that would be merged, in order:

Calculating dependencies           ... done!
[ebuild   R   ] sys-devel/gcc-4.2.3-r1  USE="hardened nls (-altivec) -bootstrap -build -doc -fortran -gcj -gtk -ip28 -ip32r10k -mudflap (-multilib) -multislot (-n32) (-n64) -nocxx -nopie -objc -objc++ -objc-gc -openmp -test -vanilla" 0 kB [1]


and emerge --info

Code:

localhost root # emerge --info
Portage 2.1.4.1 (hardened/amd64, gcc-4.2.3, glibc-2.7-r1, 2.6.24-reiser4-costel x86_64)
=================================================================
System uname: 2.6.24-reiser4-costel x86_64 Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz
Timestamp of tree: Fri, 08 Feb 2008 16:16:01 +0000
app-shells/bash:     3.2_p33
dev-lang/python:     2.4.4-r8, 2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64 x86 ~amd64 ~x86"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -fforce-addr -march=native -mtune=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind /var/qmail/alias /var/qmail/control /var/service /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -fforce-addr -march=native -mtune=native"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy distlocks fixpackages metadata-transfer parallel parallel-fetch sfperms strict unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="ro_RO.UTF-8"
LINGUAS="ro en en_GB"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--progress"
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/portage/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="alsa amd64 apache2 authdaemond berkdb big-tables bindist bzip2 caps cgi charconv chroot cli cracklib crypt ctype curl curlwrappers dba discard-path dlloader dynamicplugin elf erandom exif expat fam fastcgi flash flexresp flexresp2 force-cgi-redirect gd gdbm gif gmp gre hardened hardenedphp hpn idea idn imagemagick imap inline ipv6 ithreads jpeg jpeg2k justify kerberos libwww lm_sensors logrotate maildir mailwrapper memcache memlimit mgetty midi mysql mysqli ncurses nls notlsbeforeauth nptl nptlonly pam pam_chroot pango pcre pear perl perlsuid pg-intdatetime php pic png pop3d posix postgres prelude pwdb python qmail react readline resolvconf ruby samba sasl session sftplogging sguil sharedext slang snmp snortsam sockets spamassassin ssl sxasl symlink sysvipc tc tcl tcpd threads tiff timestats tokenizer truetype truetype-fonts underscores unicode urandom usb userlocales valias vhosts virtual-users vpopmail withsamplescripts xattr xml xml2 zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_alias cern_meta charset_lite dumpio log_forensic proxy_ftp version actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" ELIBC="glibc" INITNG_PLUGINS="also bash_launcher chdir chroot conflict cpout critical ctrlaltdel daemon_clean debug_commands envparser find fmon fstat history idleprobe initctl interactive iparser last limit lockfile logfile netdev netprobe ngc4 ngcs nge pause provide reload renice rlparser simple_launcher stcmd stdout suid syncron syslog sysreq unneeded usplash" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ro en en_GB" LIRC_DEVICES="hauppauge" USERLAND="GNU" VIDEO_CARDS="nv v4l vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS

_________________
Sorry for my English. I'm still learning this language.
Back to top
View user's profile Send private message
jcat
Veteran
Veteran


Joined: 26 May 2006
Posts: 1337

PostPosted: Sat Feb 09, 2008 5:24 pm    Post subject: Reply with quote

kernelOfTruth:

Quick question for you. I have installed GCC-4.2.3-r1 and I was just about to re-work the tool chain, so went to update change GCC profile, but I only have the following in the list:

Code:
# gcc-config -l
 [1] i686-pc-linux-gnu-4.1.2
 [2] i686-pc-linux-gnu-4.2.3
 [3] i686-pc-linux-gnu-4.2.3-hardenednopiessp
 [4] i686-pc-linux-gnu-4.2.3-hardenednossp
 [5] i686-pc-linux-gnu-4.2.3-vanilla



I would have expected to have an entry for just hardened with both pie and ssp support, but it seems if I want hardened I'm forced to use "no pie and ssp" or just "no pie". Shouldn't there be an option like:

Quote:
[6] i686-pc-linux-gnu-4.2.3-hardened


Any advise is greatly appreciated! 8)



Cheers,
jcat
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 5679
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Sat Feb 09, 2008 5:42 pm    Post subject: Reply with quote

jcat, since your profile defaults to hardened the "default" compiler == hardened, meaning:

2 == hardened full blown
3 == hardenednopiessp
4 == hardenednossp
5 == vanilla (-> no hardened pie, ssp at all)

so just use [2] :wink:

unfortunately I don't have the old gcc-3.4* so I could have shown that it's the same for it

some more info:

hardenedfaq
+ gentoo handbooks / documentation

you're new to this hardened / selinux thingy, aren't you ? :wink:
_________________
Unofficial minimal livecd x86/amd64 w/reiser4+truecrypt (by Neo2)
2.6.37.2_plus_v1: BFS, CFS,THP,compaction, zcache or TOI
Hardcore Linux user since 2004 :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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