Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 375581 - Qtcreator 2.3 needs pax marking on hardened kernel
Summary: Qtcreator 2.3 needs pax marking on hardened kernel
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-18 16:28 UTC by Aaron Lewis
Modified: 2011-08-02 07:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron Lewis 2011-07-18 16:28:52 UTC
Hi , 
  QtCreator need pax marking on hardened kernel , this should be mandatory.
  Simply remove memory protect is fine , or it results in SEGV.
Comment 1 Magnus Granberg gentoo-dev 2011-07-18 17:32:01 UTC
emerge --info and useflags for the qt-* packages
Comment 2 Aaron Lewis 2011-07-22 09:19:30 UTC
Portage 2.2.0_alpha45 (hardened/linux/x86, gcc-4.5.2, glibc-2.13-r4, 2.6.39-hardened-r7 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.39-hardened-r7-i686-Intel-R-_Core-TM-2_Duo_CPU_T5870_@_2.00GHz-with-gentoo-2.0.3
Timestamp of tree: Thu, 21 Jul 2011 12:00:01 +0000
ccache version 3.1.5 [enabled]
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.1-r1
dev-util/ccache:          3.1.5
dev-util/cmake:           2.8.5-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.1
sys-devel/gcc:            4.5.2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo
Installed sets: @system
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -pipe -mfpmath=sse -msse -msse2 -msse3 -mmmx -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /lib/rcscripts /usr/lib/pm-utils/module.d /usr/share/config/kdm /usr/share/gimp/2.0/images /usr/share/gnupg/qualified.txt /usr/share/themes/QtCurve/gtk-2.0 /usr/share/vim/vimfiles/perl-support/templates /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/skel /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=core2 -pipe -mfpmath=sse -msse -msse2 -msse3 -mmmx -fomit-frame-pointer"
DISTDIR="/Application/distfiles/"
FEATURES="assume-digests binpkg-logs ccache collision-protect distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://212.219.56.153/sites/www.ibiblio.org/gentoo/"
LANG="C"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1,--as-needed"
MAKEOPTS="-j2 -s"
PKGDIR="/data/binpkgs"
PORTAGE_CONFIGROOT="/"
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="/ccache/temp/"
PORTDIR="/data/portage"
PORTDIR_OVERLAY="/data/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi aiglx alsa artswrappersuid audiofile bash-completion berkdb bidi bluetooth bzip2 cairo cdda cddb cjk cli cracklib crypt cups cxx dbus dga dri dts dv dvd dvdr dvdread fame fat ffmpeg firefox flac fontconfig foomatic-db freetype gcj gdbm gif gimpprint gmp gnutls gpm gsm gtk hardened hdaps iconv ieee1394 imap inotify irda jack kerberos lame lcd libnotify live lm_sensors lzo mail matroska mjpeg mmx modules mozdevelop mp3 mp3rtp msn mudflap musepack musicbrainz ncurses network nls nptl nptlonly nsplugin ntfs ogg openal openexr opengl openmp pam pcmcia pcre perl pic policykit ppds pppd private-headers python qt3support qt4 rar rdesktop readline rss sasl sdl session slp smp speex sse sse2 sse3 ssl startup-notification stream svg sysfs tcpd theora thinkpad tiff udev unicode urandom usb v4l2 wifi win32codecs wmf x264 x86 xcb xine xinerama xorg xpm xprint xulrunner xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 cgi cgid 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" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US zh_CN" NGINX_MODULES_HTTP="geoip secure_link access auth_basic autoindex browser charset empty_gif fastcgi geo gzip limit_req limit_zone map memcached proxy referer rewrite scgi split_clients ssi upstream_ip_hash userid uwsgi" NGINX_MODULES_MAIL="smtp" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386 arm mips ppc x86_64" QEMU_USER_TARGETS="i386 arm mips ppc x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Aaron Lewis 2011-07-22 09:28:45 UTC
%> em -pv --nodeps $(qlist -IC x11-libs/qt-)

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

[ebuild   R    ] x11-libs/qt-assistant-4.7.3  USE="compat doc exceptions glib qt3support (-aqua) -debug (-pch) -trace" 0 kB
[ebuild   R    ] x11-libs/qt-core-4.7.3  USE="exceptions glib iconv private-headers qt3support ssl (-aqua) -debug -jit -optimized-qmake (-pch)" 0 kB
[ebuild   R    ] x11-libs/qt-dbus-4.7.3  USE="exceptions (-aqua) -debug (-pch)" 0 kB
[ebuild   R    ] x11-libs/qt-declarative-4.7.3  USE="exceptions private-headers qt3support webkit (-aqua) -debug (-pch)" 0 kB
[ebuild   R    ] x11-libs/qt-gui-4.7.3  USE="accessibility cups dbus exceptions glib gtkstyle mng private-headers qt3support raster tiff xinerama (-aqua) -debug -egl -nas -nis (-pch) -trace" 0 kB
[ebuild   R    ] x11-libs/qt-multimedia-4.7.3  USE="exceptions iconv (-aqua) -debug (-pch)" 0 kB
[ebuild   R    ] x11-libs/qt-opengl-4.7.3  USE="exceptions qt3support (-aqua) -debug -egl (-pch)" 0 kB
[ebuild   R    ] x11-libs/qt-phonon-4.7.3  USE="dbus exceptions qt3support (-aqua) -debug (-pch)" 0 kB
[ebuild   R    ] x11-libs/qt-qt3support-4.7.3  USE="accessibility exceptions (-aqua) -debug -kde (-pch) -phonon" 0 kB
[ebuild   R    ] x11-libs/qt-script-4.7.3  USE="exceptions iconv private-headers (-aqua) -debug -jit (-pch)" 0 kB
[ebuild   R    ] x11-libs/qt-sql-4.7.3  USE="exceptions freetds iconv mysql odbc qt3support sqlite (-aqua) -debug -firebird (-pch) -postgres" 0 kB
[ebuild   R    ] x11-libs/qt-svg-4.7.3  USE="accessibility exceptions iconv (-aqua) -debug (-pch)" 0 kB
[ebuild   R    ] x11-libs/qt-test-4.7.3  USE="exceptions iconv (-aqua) -debug (-pch)" 0 kB
[ebuild   R    ] x11-libs/qt-webkit-4.7.3  USE="dbus exceptions (-aqua) -debug -jit -kde (-pch)" 0 kB
[ebuild   R    ] x11-libs/qt-xmlpatterns-4.7.3  USE="(-aqua) -debug (-pch)" 0 kB
Comment 4 Magnus Granberg gentoo-dev 2011-08-01 17:16:58 UTC
What use flags was qt-creator compile with and did the older version work?
Comment 5 Aaron Lewis 2011-08-02 07:43:32 UTC
Wired , today i recompiled qt-creator , it starts on hardened kernel , and not crashing , 

The following flag works , 

[ebuild   R   #] dev-util/qt-creator-2.3.0_beta  USE="bineditor bookmarks cmake doc fakevim git qml qtscript rss subversion -bazaar -cvs -debug -examples -mercurial -perforce"

I'm shutting down this report , and will reopen when it crashes again.
Sorry for the noise.