Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 482576 - dev-db/mongodb USE=(embedded-v8|-spidermonkey) with sys-devel/gcc-4.8 - src/third_party/v8/src/checks.h:251:22: error: typedef '__StaticAssertTypedef__128' locally defined but not used [-Werror=unused-local-typedefs]
Summary: dev-db/mongodb USE=(embedded-v8|-spidermonkey) with sys-devel/gcc-4.8 - src/t...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ultrabug
URL:
Whiteboard:
Keywords:
: 488890 489172 489286 (view as bug list)
Depends on:
Blocks: werror gcc-4.8
  Show dependency tree
 
Reported: 2013-08-26 16:32 UTC by Johannes Hirte
Modified: 2013-12-23 13:10 UTC (History)
8 users (show)

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


Attachments
build.log (mongodb-build.log,257.91 KB, text/x-log)
2013-08-26 16:33 UTC, Johannes Hirte
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Hirte 2013-08-26 16:32:30 UTC
When building dev-db/mongodb-2.4.6 with gcc-4.8 and embedded-v8 enabled, the build fails with:

x86_64-pc-linux-gnu-g++ -o build/linux2/cc_x86_64-pc-linux-gnu-gcc/cxx_x86_64-pc-linux-gnu-g++/ssl/use-system-boost/use-system-pcre/use-system-snappy/use-system-tcmalloc/usev8/third_party/v8/src/x64/builtins-x64.o -c -O2 -march=amdfam10 -fpredictive-commoning -fgcse-after-reload -ftree-partial-pre -ftree-vectorize -ftracer -fvect-cost-model -pipe -fPIC -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -fno-builtin-memcmp -O3 -ansi -pedantic -Werror -W -Wno-unused-parameter -Woverloaded-virtual -Wnon-virtual-dtor -D_SCONS -DMONGO_EXPOSE_MACROS -DSUPPORT_UTF8 -D_FILE_OFFSET_BITS=64 -DMONGO_SSL -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_EXECINFO_BACKTRACE -DV8_TARGET_ARCH_X64 -DENABLE_DEBUGGER_SUPPORT -Ibuild/linux2/cc_x86_64-pc-linux-gnu-gcc/cxx_x86_64-pc-linux-gnu-g++/ssl/use-system-boost/use-system-pcre/use-system-snappy/use-system-tcmalloc/usev8/third_party/v8/src -Isrc/third_party/v8/src -Ibuild/linux2/cc_x86_64-pc-linux-gnu-gcc/cxx_x86_64-pc-linux-gnu-g++/ssl/use-system-boost/use-system-pcre/use-system-snappy/use-system-tcmalloc/usev8/third_party/libstemmer_c/include -Isrc/third_party/libstemmer_c/include -Ibuild/linux2/cc_x86_64-pc-linux-gnu-gcc/cxx_x86_64-pc-linux-gnu-g++/ssl/use-system-boost/use-system-pcre/use-system-snappy/use-system-tcmalloc/usev8/third_party/s2 -Isrc/third_party/s2 -Ibuild/linux2/cc_x86_64-pc-linux-gnu-gcc/cxx_x86_64-pc-linux-gnu-g++/ssl/use-system-boost/use-system-pcre/use-system-snappy/use-system-tcmalloc/usev8 -Isrc -Ibuild/linux2/cc_x86_64-pc-linux-gnu-gcc/cxx_x86_64-pc-linux-gnu-g++/ssl/use-system-boost/use-system-pcre/use-system-snappy/use-system-tcmalloc/usev8/mongo -Isrc/mongo -Ibuild/linux2/cc_x86_64-pc-linux-gnu-gcc/cxx_x86_64-pc-linux-gnu-g++/ssl/use-system-boost/use-system-pcre/use-system-snappy/use-system-tcmalloc/usev8/third_party/s2 -Isrc/third_party/s2 src/third_party/v8/src/x64/builtins-x64.cc
In file included from src/third_party/v8/src/v8globals.h:32:0,
                 from src/third_party/v8/src/v8.h:53,
                 from src/third_party/v8/src/x64/assembler-x64.cc:28:
src/third_party/v8/src/v8utils.h: In function 'void v8::internal::CopyWords(T*, T*, int)':
src/third_party/v8/src/checks.h:251:22: error: typedef '__StaticAssertTypedef__128' locally defined but not used [-Werror=unused-local-typedefs]
     SEMI_STATIC_JOIN(__StaticAssertTypedef__, __LINE__)
                      ^
src/third_party/v8/src/checks.h:241:39: note: in definition of macro 'SEMI_STATIC_JOIN_HELPER'
 #define SEMI_STATIC_JOIN_HELPER(a, b) a##b
                                       ^
src/third_party/v8/src/checks.h:251:5: note: in expansion of macro 'SEMI_STATIC_JOIN'
     SEMI_STATIC_JOIN(__StaticAssertTypedef__, __LINE__)
     ^
src/third_party/v8/src/checks.h:283:30: note: in expansion of macro 'STATIC_CHECK'
 #define STATIC_ASSERT(test)  STATIC_CHECK(test)
                              ^
src/third_party/v8/src/v8utils.h:128:3: note: in expansion of macro 'STATIC_ASSERT'
   STATIC_ASSERT(sizeof(T) == kPointerSize);
   ^


Reproducible: Always




emerge --info
Portage 2.2.1 (default/linux/amd64/13.0, gcc-4.8.1, glibc-2.17, 3.11.0-rc6-00148-g8495e9c x86_64)
=================================================================
System uname: Linux-3.11.0-rc6-00148-g8495e9c-x86_64-AMD_Athlon-tm-_II_P320_Dual-Core_Processor-with-gentoo-2.2
KiB Mem:     4047388 total,    175508 free
KiB Swap:    4194300 total,   3984888 free
Timestamp of tree: Mon, 26 Aug 2013 14:30:01 +0000
ld GNU gold (GNU Binutils 2.23.2) 1.11
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5-r2, 3.2.5-r2, 3.3.2-r2
dev-util/cmake:           2.8.11.1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.14
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.6.4, 4.7.3, 4.8.1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.10 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo x11 kde gamerlay local
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-11.x AdobeFlash-10.1 AdobeFlash-10.3 ETQW google-chrome googleearth Google-TOS Intel-SDP Oracle-BCLA-JavaSE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=amdfam10 -fpredictive-commoning -fgcse-after-reload -ftree-partial-pre -ftree-vectorize -ftracer -fvect-cost-model -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/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 -march=amdfam10 -fpredictive-commoning -fgcse-after-reload -ftree-partial-pre -ftree-vectorize -ftracer -fvect-cost-model -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --quiet-build=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync metadata-transfer news parallel-fetch preserve-libs sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,-z,combreloc -O2 -march=amdfam10 -fpredictive-commoning -fgcse-after-reload -ftree-partial-pre -ftree-vectorize -ftracer -fvect-cost-model -pipe"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-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="/usr/local/portage/layman/x11 /usr/local/portage/layman/kde /usr/local/portage/layman/gamerlay /usr/local/portage"
USE="X a52 aac aacs acl acoustid addressbook aften aio alsa amd64 amr apng assistant attica audiofile autotools berkdb bluetooth bluray bzip2 c++0x cairo calendar canberra caps caps-ng cdda cddb chm cli cmake consolekit corefonts cracklib crypt cups cvs cxx dbus declarative desktopglobe device-mapper dirac djvu dri dts dv dvd ebook eigen embedded emf encode exif expoblending faac faad fam ffmpeg fftw fits flac flash fontconfig fortran fpm fpx ftdi gbm gd gdbm gif git glamor gles1 gles2 glew gmp gold google gphoto2 gpm graphicsmagick graphviz gs gsl hdri highlight iconv icu id3tag inotify ipv6 jemalloc jpeg jpeg2k json kate kde kdepim kipi kpathsea lame lapack latex lcms lensfun libffi libkms liblockfile libsamplerate live lm_sensors lzma lzo mad marble midi minizip mjpeg mmap mmx mmx2 mmxext mng modules mongodb mp3 mp4 mpeg mtp mudflap multilib musicbrainz mysql ncurses netlink networkmanager nfsidmap nfsv3 nls nptl ogg okteta openal openexr opengl openmp opus oscar otr pam panorama pcre pdf pdfimport perl plasma png policykit postscript pyqt4 python python3 qt3support qt4 qthelp quicktime raw readline redeyes reviewboard rle romio samba scanner schroedinger semantic-desktop session sift sip smi sndfile soundtouch spell sqlite sqlite3 sse sse2 sse3 ssl subversion svg system-sqlite taglib tcmalloc tcpd theora threads thumbnail tiff truetype twolame udev udisks udisks2 unicode usb v4l v8 valgrind vamp vdpau vhosts vlc vorbis vpx webkit webp wmf x264 xattr xcb xcomposite xetex xml xmp xscreensaver xv xvid yaz zip zlib" ABI_X86="64 32" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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="braindump flow karbon kexi kpresenter krita plan sheets stage tables words" CAMERAS="canon directory" 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" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en" NGINX_MODULES_HTTP="access auth_basic autoindex browser charset empty_gif fancyindex fastcgi geo gzip limit_conn limit_req map memcached proxy referer rewrite scgi split_clients ssi stub_status upstream_ip_hash userid uwsgi" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby20" SANE_BACKENDS="net snapscan" USERLAND="GNU" VIDEO_CARDS="r600 radeon" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 1 Johannes Hirte 2013-08-26 16:33:23 UTC
Created attachment 357090 [details]
build.log

complete build.log
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-10-25 14:19:50 UTC
*** Bug 489286 has been marked as a duplicate of this bug. ***
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2013-10-25 14:20:10 UTC
*** Bug 489172 has been marked as a duplicate of this bug. ***
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2013-10-25 14:20:35 UTC
*** Bug 488890 has been marked as a duplicate of this bug. ***
Comment 5 Ultrabug gentoo-dev 2013-10-28 14:31:08 UTC
Hi,

This should be fixed in tree now. Cheers

+  28 Oct 2013; Ultrabug <ultrabug@gentoo.org> -mongodb-2.2.6.ebuild,
+  -mongodb-2.4.6.ebuild, -mongodb-2.4.6-r1.ebuild, mongodb-2.4.6-r2.ebuild,
+  mongodb-2.4.7.ebuild, metadata.xml:
+  fix gcc-4.8 compilation #482576 thx to @xarthisius, drop v8 dependent
+  ebuilds, update metadata
+