Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 435546 - sys-kernel/hardened-sources-3.5.4 - In function 'set_xen_basic_apic_ops': arch/x86/xen/enlighten.c:886:2: error: assignment of read-only location '*apic'
Summary: sys-kernel/hardened-sources-3.5.4 - In function 'set_xen_basic_apic_ops': arc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-19 20:23 UTC by Another Mortal
Modified: 2013-01-18 23:00 UTC (History)
3 users (show)

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


Attachments
emerge --info + .config (as requested) (config,84.62 KB, text/plain)
2012-09-21 18:49 UTC, Another Mortal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Another Mortal 2012-09-19 20:23:22 UTC
arch/x86/xen/enlighten.c: In function 'set_xen_basic_apic_ops':
arch/x86/xen/enlighten.c:886:2: error: assignment of read-only location '*apic'
arch/x86/xen/enlighten.c:887:2: error: assignment of read-only location '*apic'
arch/x86/xen/enlighten.c:888:2: error: assignment of read-only location '*apic'
arch/x86/xen/enlighten.c:889:2: error: assignment of read-only location '*apic'
arch/x86/xen/enlighten.c:890:2: error: assignment of read-only location '*apic'
arch/x86/xen/enlighten.c:891:2: error: assignment of read-only location '*apic'
arch/x86/xen/enlighten.c:892:2: error: assignment of read-only location '*apic'
arch/x86/xen/enlighten.c:893:2: error: assignment of read-only location '*apic'
arch/x86/xen/enlighten.c:896:2: error: assignment of read-only location '*apic'
arch/x86/xen/enlighten.c:897:2: error: assignment of read-only location '*apic'
arch/x86/xen/enlighten.c:898:2: error: assignment of read-only location '*apic'
arch/x86/xen/enlighten.c:899:2: error: assignment of read-only location '*apic'
arch/x86/xen/enlighten.c:900:2: error: assignment of read-only location '*apic'
make[2]: *** [arch/x86/xen/enlighten.o] Error 1
make[1]: *** [arch/x86/xen] Error 2
make: *** [arch/x86] Error 2
Comment 1 Anthony Basile gentoo-dev 2012-09-20 14:49:37 UTC
(In reply to comment #0)
> arch/x86/xen/enlighten.c: In function 'set_xen_basic_apic_ops':
> arch/x86/xen/enlighten.c:886:2: error: assignment of read-only location
> '*apic'
> arch/x86/xen/enlighten.c:887:2: error: assignment of read-only location
> '*apic'
> arch/x86/xen/enlighten.c:888:2: error: assignment of read-only location
> '*apic'
> arch/x86/xen/enlighten.c:889:2: error: assignment of read-only location
> '*apic'
> arch/x86/xen/enlighten.c:890:2: error: assignment of read-only location
> '*apic'
> arch/x86/xen/enlighten.c:891:2: error: assignment of read-only location
> '*apic'
> arch/x86/xen/enlighten.c:892:2: error: assignment of read-only location
> '*apic'
> arch/x86/xen/enlighten.c:893:2: error: assignment of read-only location
> '*apic'
> arch/x86/xen/enlighten.c:896:2: error: assignment of read-only location
> '*apic'
> arch/x86/xen/enlighten.c:897:2: error: assignment of read-only location
> '*apic'
> arch/x86/xen/enlighten.c:898:2: error: assignment of read-only location
> '*apic'
> arch/x86/xen/enlighten.c:899:2: error: assignment of read-only location
> '*apic'
> arch/x86/xen/enlighten.c:900:2: error: assignment of read-only location
> '*apic'
> make[2]: *** [arch/x86/xen/enlighten.o] Error 1
> make[1]: *** [arch/x86/xen] Error 2
> make: *** [arch/x86] Error 2

Hi, I'll to see 1) your emerge --info and 2) your kernel config file.  Just paste the first into the textarea and upload the second as an uncompressed attachment.
Comment 2 PaX Team 2012-09-21 13:53:29 UTC
which grsec is this? 'cos i fixed this issue some days ago ;).
Comment 3 Another Mortal 2012-09-21 18:49:45 UTC
Created attachment 324528 [details]
emerge --info + .config (as requested)

Portage 2.1.11.19 (default/linux/amd64/10.0, gcc-4.5.4, glibc-2.15-r2, 3.5.3-hardened-r3 x86_64)
=================================================================
System uname: Linux-3.5.3-hardened-r3-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9650_@_3.00GHz-with-gentoo-2.1
Timestamp of tree: Fri, 21 Sep 2012 18:00:01 +0000
ccache version 3.1.7 [enabled]
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/ccache:          3.1.7
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.4
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.5 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo x-overlay
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/openvpn/easy-rsa"
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.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.df.lth.se/pub/gentoo/ http://ftp.ds.karen.hj.se/gentoo/ http://mirror.mdfnet.se/mirror/gentoo http://ftp.ing.umu.se/linux/gentoo/ http://gentoo.tiscali.nl/ http://de-mirror.org/distro/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/etc/portage/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl amd64 bash-completion berkdb bzip2 caps cli compiz cracklib crypt cups cxx directfb dri gif gpm iconv jpeg jpeg2k loop-aes mmx modules mudflap multilib ncurses nls nptl opengl openmp pam pcre png pppd python readline seamonkey session sse sse2 ssl svg threads tiff truetype vim-syntax xattr 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 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" 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="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel vesa nouveau" 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, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 4 PaX Team 2013-01-18 20:55:40 UTC
i guess this has been fixed for a while now, so perhaps we can close it?