First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 226383
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: benchmarks <benchmarks@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Oliver Putz <Regnaron@web.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 226383 depends on: Show dependency tree
Bug 226383 blocks: 198121
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-06-13 17:56 0000
Trying to compile bashmark-0.6.2 on an amd64 architecture with gcc-4.3.1 fails
(apparently due to some missing #include<>)

Reproducible: Always

Steps to Reproduce:
Compile bashmark with gcc-4.3.1



The emerge output is:

>>> Emerging (1 of 611) app-benchmarks/bashmark-0.6.2 to /
 * bashmark-0.6.2.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                      
                                                                               
                                  [ ok ]
 * checking ebuild checksums ;-) ...                                           
                                                                               
                                  [ ok ]
 * checking auxfile checksums ;-) ...                                          
                                                                               
                                  [ ok ]
 * checking miscfile checksums ;-) ...                                         
                                                                               
                                  [ ok ]
 * checking bashmark-0.6.2.tar.bz2 ;-) ...                                     
                                                                               
                                  [ ok ]
>>> Unpacking source...
>>> Unpacking bashmark-0.6.2.tar.bz2 to /var/tmp/portage/app-benchmarks/bashmark-0.6.2/work
 * Applying bashmark-0.6.2-as-needed.patch ...                                 
                                                                               
                                  [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/app-benchmarks/bashmark-0.6.2/work/bashmark-0.6.2 ...
g++ -march=core2 -O2 -pipe -ggdb -c Benchmark.cpp -o Benchmark.o
g++ -march=core2 -O2 -pipe -ggdb -c Stopwatch.cpp -o Stopwatch.o
g++ -march=core2 -O2 -pipe -ggdb -c Sysinfo.cpp -o Sysinfo.o
g++ -march=core2 -O2 -pipe -ggdb -c Write_Result.cpp -o Write_Result.o
Benchmark.cpp: In function 'void Intern_Memory_RW_Test(uint8_t*, uint8_t*)':
Benchmark.cpp:798: error: there are no arguments to 'memcpy' that depend on a
template parameter, so a declaration of 'memcpy' must be available
Benchmark.cpp:798: error: (if you use '-fpermissive', G++ will accept your
code, but allowing the use of an undeclared name is deprecated)
Benchmark.cpp:798: error: there are no arguments to 'memset' that depend on a
template parameter, so a declaration of 'memset' must be available
Benchmark.cpp:798: error: there are no arguments to 'memcpy' that depend on a
template parameter, so a declaration of 'memcpy' must be available
Benchmark.cpp:798: error: there are no arguments to 'memset' that depend on a
template parameter, so a declaration of 'memset' must be available
Benchmark.cpp:798: error: there are no arguments to 'memcpy' that depend on a
template parameter, so a declaration of 'memcpy' must be available
Benchmark.cpp:798: error: there are no arguments to 'memset' that depend on a
template parameter, so a declaration of 'memset' must be available
Benchmark.cpp:798: error: there are no arguments to 'memcpy' that depend on a
template parameter, so a declaration of 'memcpy' must be available
Benchmark.cpp:798: error: there are no arguments to 'memset' that depend on a
template parameter, so a declaration of 'memset' must be available
Benchmark.cpp:798: error: there are no arguments to 'memcpy' that depend on a
template parameter, so a declaration of 'memcpy' must be available
Benchmark.cpp:798: error: there are no arguments to 'memset' that depend on a
template parameter, so a declaration of 'memset' must be available
Benchmark.cpp:799: error: there are no arguments to 'memcpy' that depend on a
template parameter, so a declaration of 'memcpy' must be available
Benchmark.cpp:799: error: there are no arguments to 'memset' that depend on a
template parameter, so a declaration of 'memset' must be available
Benchmark.cpp:799: error: there are no arguments to 'memcpy' that depend on a
template parameter, so a declaration of 'memcpy' must be available
Benchmark.cpp:799: error: there are no arguments to 'memset' that depend on a
template parameter, so a declaration of 'memset' must be available
Benchmark.cpp:799: error: there are no arguments to 'memcpy' that depend on a
template parameter, so a declaration of 'memcpy' must be available
Benchmark.cpp:799: error: there are no arguments to 'memset' that depend on a
template parameter, so a declaration of 'memset' must be available
Benchmark.cpp:799: error: there are no arguments to 'memcpy' that depend on a
template parameter, so a declaration of 'memcpy' must be available
Benchmark.cpp:799: error: there are no arguments to 'memset' that depend on a
template parameter, so a declaration of 'memset' must be available
Benchmark.cpp:799: error: there are no arguments to 'memcpy' that depend on a
template parameter, so a declaration of 'memcpy' must be available
Benchmark.cpp:799: error: there are no arguments to 'memset' that depend on a
template parameter, so a declaration of 'memset' must be available
g++ -march=core2 -O2 -pipe -ggdb -c md5.c -o md5.o
Benchmark.cpp: In function 'void Intern_Memory_RW_Test(uint8_t*, uint8_t*)
[with unsigned char Block_Size = 128u, unsigned int Loops = 3500u]':
Benchmark.cpp:886:   instantiated from 'static double
Geno::Benchmark::Memory_RW_Test() [with unsigned int <anonymous> = 256u,
unsigned int <anonymous> = 3500u]'
Benchmark.cpp:280:   instantiated from here
Benchmark.cpp:798: error: 'memcpy' was not declared in this scope
Benchmark.cpp:798: error: 'memset' was not declared in this scope
Benchmark.cpp: In function 'void Intern_Memory_RW_Test(uint8_t*, uint8_t*)
[with unsigned char Block_Size = 64u, unsigned int Loops = 4000u]':
Benchmark.cpp:886:   instantiated from 'static double
Geno::Benchmark::Memory_RW_Test() [with unsigned int <anonymous> = 128u,
unsigned int <anonymous> = 4000u]'
Benchmark.cpp:285:   instantiated from here
Benchmark.cpp:798: error: 'memcpy' was not declared in this scope
Benchmark.cpp:798: error: 'memset' was not declared in this scope
make: *** [Benchmark.o] Error 1
make: *** Waiting for unfinished jobs....
Sysinfo.cpp: In static member function 'static void
Geno::Sysinfo::Filter_Cpu_Type(std::string*)':
Sysinfo.cpp:336: error: 'strlen' was not declared in this scope
Sysinfo.cpp:354: error: 'strlen' was not declared in this scope
make: *** [Sysinfo.o] Error 1
 *
 * ERROR: app-benchmarks/bashmark-0.6.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2129:  Called die
 * The specific snippet of code:
 *           emake || die "emake failed";
 *  The die message:
 *   emake failed
 *
 * If you need support, post the topmost build error, and the call stack if
relevant.
 * A complete build log is located at
'/var/tmp/portage/app-benchmarks/bashmark-0.6.2/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/app-benchmarks/bashmark-0.6.2/temp/environment'.
 *


emerge --info:

Portage 2.1.4.4 (default/linux/amd64/2008.0/desktop, gcc-4.3.1,
glibc-2.8_p20080602-r0, 2.6.25-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r4 x86_64 Intel(R) Core(TM)2 Duo CPU T9300 @
2.50GHz
Timestamp of tree: Wed, 11 Jun 2008 05:33:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13
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.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"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf
/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c
/etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms splitdebug strict
unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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/local-overlay
/usr/portage/local/layman/gnash-cvs"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cli
cracklib crypt cups dbus debug dri dvd dvdr dvdread eds emboss encode esd evo
fam firefox fortran gdbm gif gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kde
kerberos ldap libnotify mad midi mikmod mmx mp3 mpeg mudflap multilib ncurses
nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3
qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl
startup-notification svg tcpd tiff truetype unicode vorbis xml xorg xv 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 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="radeon radeonhd vesa fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Peter Alfredsen 2008-06-29 10:01:16 0000 -------
+  29 Jun 2008; Peter Alfredsen <loki_val@gentoo.org>
+  +files/bashmark-0.6.2-gcc43.patch, -bashmark-0.6.1.ebuild,
+  bashmark-0.6.2.ebuild:
+  Fix for gcc-4.3, drop old. Bug #226383.
+

------- Comment #2 From Matti Bickel 2008-10-04 20:13:04 0000 -------
*** Bug 226971 has been marked as a duplicate of this bug. ***

First Last Prev Next    No search results available      Search page      Enter new bug