Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 270892 - net-analyzer/rrdtool-1.2.29: There is a QA problem with the execute stack on arm
Summary: net-analyzer/rrdtool-1.2.29: There is a QA problem with the execute stack on arm
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM Linux
: High QA (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-23 01:04 UTC by Carlos Camacho
Modified: 2010-06-06 14:30 UTC (History)
2 users (show)

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


Attachments
build.log for rrdtool-1.3.7 (build.log,228.58 KB, text/plain)
2009-05-26 04:29 UTC, Carlos Camacho
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Camacho 2009-05-23 01:04:28 UTC
The ebuild reports a QA problem with the NX stack in the following files:

!WX --- --- usr/lib/librrd.a:hash_32.o
 * !WX --- --- usr/lib/librrd.a:pngsize.o
 * !WX --- --- usr/lib/librrd.a:rrd_create.o
 * !WX --- --- usr/lib/librrd.a:rrd_dump.o
 * !WX --- --- usr/lib/librrd.a:rrd_fetch.o
 * !WX --- --- usr/lib/librrd.a:rrd_graph.o
 * !WX --- --- usr/lib/librrd.a:rrd_graph_helper.o
 * !WX --- --- usr/lib/librrd.a:rrd_last.o
 * !WX --- --- usr/lib/librrd.a:rrd_lastupdate.o
 * !WX --- --- usr/lib/librrd.a:rrd_first.o
 * !WX --- --- usr/lib/librrd.a:rrd_resize.o
 * !WX --- --- usr/lib/librrd.a:rrd_restore.o
 * !WX --- --- usr/lib/librrd.a:rrd_tune.o
 * !WX --- --- usr/lib/librrd.a:rrd_version.o
 * !WX --- --- usr/lib/librrd.a:rrd_xport.o
 * !WX --- --- usr/lib/librrd.a:art_rgba_svp.o
 * !WX --- --- usr/lib/librrd.a:rrd_gfx.o
 * !WX --- --- usr/lib/librrd.a:rrd_afm.o
 * !WX --- --- usr/lib/librrd.a:rrd_afm_data.o
 * !WX --- --- usr/lib/librrd.a:rrd_tool.o
 * !WX --- --- usr/lib/librrd.a:rrd_getopt.o
 * !WX --- --- usr/lib/librrd.a:rrd_getopt1.o
 * !WX --- --- usr/lib/librrd.a:parsetime.o
 * !WX --- --- usr/lib/librrd.a:rrd_hw.o
 * !WX --- --- usr/lib/librrd.a:rrd_diff.o
 * !WX --- --- usr/lib/librrd.a:rrd_format.o
 * !WX --- --- usr/lib/librrd.a:rrd_info.o
 * !WX --- --- usr/lib/librrd.a:rrd_error.o
 * !WX --- --- usr/lib/librrd.a:rrd_open.o
 * !WX --- --- usr/lib/librrd.a:rrd_nan_inf.o
 * !WX --- --- usr/lib/librrd.a:rrd_rpncalc.o
 * !WX --- --- usr/lib/librrd.a:rrd_update.o
 * !WX --- --- usr/lib/librrd.a:rrd_not_thread_safe.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-rrd_getopt.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-rrd_getopt1.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-parsetime.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-rrd_hw.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-rrd_diff.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-rrd_format.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-rrd_info.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-rrd_error.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-rrd_open.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-rrd_nan_inf.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-rrd_rpncalc.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-rrd_update.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-hash_32.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-pngsize.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-rrd_create.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-rrd_dump.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-rrd_fetch.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-rrd_graph.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-rrd_graph_helper.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-rrd_last.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-rrd_lastupdate.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-rrd_first.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-rrd_resize.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-rrd_restore.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-rrd_tune.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-rrd_version.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-rrd_xport.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-art_rgba_svp.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-rrd_gfx.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-rrd_afm.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-rrd_afm_data.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-rrd_tool.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-rrd_thread_safe.o


Reproducible: Always

Steps to Reproduce:
1. Simply emerge rrdtools

Actual Results:  
It compiles, but the warning is displayed.


Running on Linux 2.6.30-rc6 #2 PREEMPT  armv5tel Feroceon 88FR131 rev 1 (v5l) Marvell SheevaPlug Reference Board GNU/Linux

emerge info:
Portage 2.1.6.11 (default/linux/arm/2008.0, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.30-rc6 armv5tel)
=================================================================
System uname: Linux-2.6.30-rc6-armv5tel-Feroceon_88FR131_rev_1_-v5l-with-gentoo-1.12.11.1
Timestamp of tree: Thu, 21 May 2009 04:00:01 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.2-r7, 2.6.2
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.63
sys-devel/automake:  1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="arm"
CBUILD="armv5tel-softfloat-linux-gnueabi"
CFLAGS="-O2 -march=armv5te -pipe"
CHOST="armv5tel-softfloat-linux-gnueabi"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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 -march=armv5te -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/portage/packages"
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="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl alsa apache2 arm autoipd automount berkdb bzip2 calendar cli cracklib crypt ctype cups curl curlwrappers dbus filter fortran ftp gdbm gpm hal howl-compat httpd iconv isdnlog jpeg json midi mp3 mudflap mysql mysqli ncurses nls nptl nptlonly openmp pam passwordsave pcre perl php png postgres pppd python readline reflection samba session simplexml soap sockets spl sqlite ssl swat symlink sysfs tcpd threads tokenizer truetype unicode xml xmlreader xmlrpc xmlwriter xorg zip zlib" 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint mach64 mga nv r128 radeon savage sis tdfx trident 	vga voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Peter Volkov (RETIRED) gentoo-dev 2009-05-24 21:13:48 UTC
Carlos could you attach full build.log?
Comment 2 Carlos Camacho 2009-05-25 00:01:04 UTC
(In reply to comment #1)
> Carlos could you attach full build.log?
> 

I can't find a build.log even after emergeing it again, where is it supposed to be located?

it seems I missed a couple of lines below what I pasted before.

Just below the !WX messages there were the following 2 lines:

removing executable bit: usr/lib/librrd.la
removing executable bit: usr/lib/librrd_th.la

Comment 3 Peter Volkov (RETIRED) gentoo-dev 2009-05-25 21:47:12 UTC
Just emerge package with FEATURES=noclean and then you'll find build.log at 
/var/tmp/portage/net-analyzer/rrdtool-1.2.29/temp/build.log

Also does this happen with rrdtool-1.3.x?
Comment 4 Carlos Camacho 2009-05-26 04:27:50 UTC
emerged version 1.3.7 with the following results:

 * QA Notice: The following files contain executable stacks
 *  Files with executable stacks will not work properly (or at all!)
 *  on some architectures/operating systems.  A bug should be filed
 *  at http://bugs.gentoo.org/ to make sure the file is fixed.
 *  For more information, see http://hardened.gentoo.org/gnu-stack.xml
 *  Please include the following list of files in your report:
 *  Note: Bugs should be filed for the respective maintainers
 *  of the package in question and not hardened@
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-rrd_parsetime.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-rrd_hw.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-rrd_hw_math.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-rrd_hw_update.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-rrd_diff.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-rrd_format.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-rrd_info.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-rrd_error.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-rrd_open.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-rrd_nan_inf.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-rrd_rpncalc.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-rrd_update.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-hash_32.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-pngsize.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-rrd_create.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-rrd_graph.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-rrd_graph_helper.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-rrd_version.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-rrd_last.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-rrd_lastupdate.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-rrd_first.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-rrd_restore.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-rrd_xport.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-rrd_gfx.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-rrd_dump.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-rrd_fetch.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-rrd_resize.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-rrd_tune.o
 * !WX --- --- usr/lib/librrd_th.a:librrd_th_la-rrd_thread_safe.o
 * !WX --- --- usr/lib/librrd.a:hash_32.o
 * !WX --- --- usr/lib/librrd.a:pngsize.o
 * !WX --- --- usr/lib/librrd.a:rrd_create.o
 * !WX --- --- usr/lib/librrd.a:rrd_graph.o
 * !WX --- --- usr/lib/librrd.a:rrd_graph_helper.o
 * !WX --- --- usr/lib/librrd.a:rrd_version.o
 * !WX --- --- usr/lib/librrd.a:rrd_last.o
 * !WX --- --- usr/lib/librrd.a:rrd_lastupdate.o
 * !WX --- --- usr/lib/librrd.a:rrd_first.o
 * !WX --- --- usr/lib/librrd.a:rrd_restore.o
 * !WX --- --- usr/lib/librrd.a:rrd_xport.o
 * !WX --- --- usr/lib/librrd.a:rrd_gfx.o
 * !WX --- --- usr/lib/librrd.a:rrd_dump.o
 * !WX --- --- usr/lib/librrd.a:rrd_fetch.o
 * !WX --- --- usr/lib/librrd.a:rrd_resize.o
 * !WX --- --- usr/lib/librrd.a:rrd_tune.o
 * !WX --- --- usr/lib/librrd.a:rrd_open.o
 * !WX --- --- usr/lib/librrd.a:rrd_hw.o
 * !WX --- --- usr/lib/librrd.a:rrd_hw_math.o
 * !WX --- --- usr/lib/librrd.a:rrd_hw_update.o
 * !WX --- --- usr/lib/librrd.a:rrd_rpncalc.o
 * !WX --- --- usr/lib/librrd.a:rrd_parsetime.o
 * !WX --- --- usr/lib/librrd.a:rrd_error.o
 * !WX --- --- usr/lib/librrd.a:rrd_update.o
 * !WX --- --- usr/lib/librrd.a:rrd_nan_inf.o
 * !WX --- --- usr/lib/librrd.a:rrd_diff.o
 * !WX --- --- usr/lib/librrd.a:rrd_not_thread_safe.o
 * !WX --- --- usr/lib/librrd.a:rrd_info.o
 * !WX --- --- usr/lib/librrd.a:rrd_format.o

removing executable bit: usr/lib/librrd.la
removing executable bit: usr/lib/librrd_th.la

I am attaching the build.log
Comment 5 Carlos Camacho 2009-05-26 04:29:43 UTC
Created attachment 192463 [details]
build.log for rrdtool-1.3.7
Comment 6 Ihar Hrachyshka 2009-09-05 13:54:51 UTC
Can't reproduce for 1.2.29 and 1.3.7 (amd64).
Comment 7 Peter Volkov (RETIRED) gentoo-dev 2009-10-26 13:28:51 UTC
Looks like this is arm specific thing. Guys have you seen this problem previously? Is this bug reproducible for you?
Comment 8 Raúl Porcel (RETIRED) gentoo-dev 2009-12-10 17:59:18 UTC
Can't check it right now, but this doesn't have too much to do with rrdtool.

Also iirc this doesn't show up anymore with gcc-4.3 on arm
Comment 9 Raúl Porcel (RETIRED) gentoo-dev 2010-01-23 18:27:05 UTC
Carlos, do you still have the issue with gcc-4.3?