Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 600280 - dev-lang/spidermonkey-1.8.5-r6: size of array 'js_static_assert67' is negative
Summary: dev-lang/spidermonkey-1.8.5-r6: size of array 'js_static_assert67' is negative
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-20 12:28 UTC by Conrad Kostecki
Modified: 2019-08-03 12:49 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,856.08 KB, application/octet-stream)
2016-11-26 13:22 UTC, Conrad Kostecki
Details
build2.log (build2.log,868.08 KB, application/octet-stream)
2016-11-26 13:23 UTC, Conrad Kostecki
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Conrad Kostecki gentoo-dev 2016-11-20 12:28:32 UTC
In file included from jstypedarray.cpp:44:0:
jsutil.h:120:89: error: size of array 'js_static_assert67' is negative
         typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
                                                                                         ^
jstypedarray.cpp:460:1: note: in expansion of macro 'JS_STATIC_ASSERT'
 JS_STATIC_ASSERT(sizeof(uint8_clamped) == 1);
 ^
jsscript.cpp
armv7a-hardfloat-linux-gnueabi-g++ -o jsscript.o -c  -fvisibility=hidden -DOSTYPE=\"Linux4.4\" -DOSARCH=PI -D__STDC_LIMIT_MACROS  -I. -I. -I./dist/include -I./dist/include/nsprpub  -I/usr/include/nspr   -I. -rr  -fPIC  -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-ptual-dtor -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -marchcortex-a53 -mfpu=crypto-neon-fp-armv8 -mtune=cortex-a53 -O3 -masm-syntax-unified -mfloat-abi=hard -mfp16-for-64bits -mstructure-size-boundary=32 -mthumb -mtls-dialect=gnu2 -pipe -fomit-frame-pointer -fvisibil-fno-strict-aliasing -pthread -pipe  -DNDEBUG -DTRIMMED -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENALA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsscript.pp jsscript.cpp
jstypedarray.cpp: In instantiation of 'void TypedArrayTemplate<NativeType>::copyIndexToValue(JSContext*,) [with NativeType = uint8_clamped; JSContext = JSContext; uint32 = unsigned int]':
jstypedarray.cpp:531:13:   required from 'static JSBool TypedArrayTemplate<NativeType>::obj_getProperty(t*, JSObject*, jsid, js::Value*) [with NativeType = uint8_clamped; JSBool = int; JSContext = JSContext; ; jsid = int]'
jstypedarray.cpp:1569:5:   required from here
jsutil.h:120:43: error: size of array is negative
         typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
                                           ^
jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
     #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
                                         ^
jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
         typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1]
                     ^
jstypedarray.cpp:1351:5: note: in expansion of macro 'JS_STATIC_ASSERT'
     JS_STATIC_ASSERT(sizeof(NativeType) < 4);
     ^
make[1]: *** [config/rules.mk:1477: jstypedarray.o] Error 1
make[1]: *** Waiting for unfinished jobs....
Comment 1 Conrad Kostecki gentoo-dev 2016-11-20 12:29:03 UTC
Portage 2.3.2 (python 3.5.2-final-0, default/linux/arm/13.0/armv7a/desktop, gcc-5.4.0, glibc-2.23-r3, 4.4.31-raspberrypi-v7+ armv7l)
=================================================================
System uname: Linux-4.4.31-raspberrypi-v7+-armv7l-ARMv7_Processor_rev_4_-v7l-with-gentoo-2.3
KiB Swap:    2097148 total,   2097024 free
Timestamp of repository gentoo: Sat, 19 Nov 2016 21:45:01 +0000
sh bash 4.4_p5
ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
app-shells/bash:          4.4_p5::gentoo
dev-lang/perl:            5.24.0-r2::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo, 3.5.2::gentoo
dev-util/cmake:           3.7.0::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.22.4::gentoo
sys-apps/sandbox:         2.10-r2::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.26.1::gentoo, 2.27::gentoo
sys-devel/gcc:            5.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.8::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: --exclude-from=/etc/portage/rsync_excludes

archeron
    location: /usr/local/portage
    masters: gentoo

ACCEPT_KEYWORDS="arm ~arm"
ACCEPT_LICENSE="*"
CBUILD="armv7a-hardfloat-linux-gnueabi"
CFLAGS="-march=armv8-a+crc -mcpu=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mtune=cortex-a53 -O3 -masm-syntax-unified -mfloat-abi=hard -mfp16-format=ieee -mneon-for-64bits -mstructure-size-boundary=32 -mthumb -mtls-dialect=gnu2 -pipe -fomit-frame-pointer"
CHOST="armv7a-hardfloat-linux-gnueabi"
CONFIG_PROTECT="/boot/cmdline.txt /boot/config.txt /etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=armv8-a+crc -mcpu=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mtune=cortex-a53 -O3 -masm-syntax-unified -mfloat-abi=hard -mfp16-format=ieee -mneon-for-64bits -mstructure-size-boundary=32 -mthumb -mtls-dialect=gnu2 -pipe -fomit-frame-pointer -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n --quiet-build=n --with-bdeps=y"
FCFLAGS="-O2 -pipe -march=armv7-a"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=armv7-a"
GENTOO_MIRRORS="ftp://ftp.halifax.rwth-aachen.de/gentoo/"
INSTALL_MASK="/etc/xinetd.d/* /usr/lib/systemd/system/*"
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,-z,now"
MAKEOPTS="-j5 -l4"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="xz"
PORTAGE_COMPRESS_FLAGS="-9e"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="acl arm armv5te armv6 armv6t2 bzip2 caps cjk clang cracklib crypt curl cvs cxx dbus gif gmp gpm iconv icu idn ipv6 jit jpeg jpeg2k lcms lzma lzo maildir ncurses neon nls nptl opengl openmp pam pcre perl png readline savedconfig slang spell ssl subversion suid symlink threads tiff truetype udev unicode usb vim-syntax webp xattr xml zlib zsh-completion" COLLECTD_PLUGINS="battery cgroups conntrack contextswitch cpu cpufreq cpusleep df disk dns entropy ethstat exec filecount hddtemp interface ipc irq load lvm memory netlink nfs nginx openvpn ping postgresql processes protocols rrdcached sensors serial smart swap syslog tcpconns thermal unixsock uptime users wireless" CURL_SSL="openssl" ELIBC="glibc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="de de_DE" LINGUAS="de de_DE" NGINX_MODULES_HTTP="access auth_basic autoindex charset fancyindex fastcgi geo geoip gunzip gzip proxy realip rewrite stub_status upstream_keepalive" NGINX_MODULES_STREAM="access geo geoip realip ssl_preread" PHP_TARGETS="php7-0" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_4 python3_5" USERLAND="GNU" VIDEO_CARDS="vc4"
USE_PYTHON="2.7 3.4 3.5"
Unset:  CC, CPPFLAGS, CTARGET, CXX, PORTAGE_BUNZIP2_COMMAND
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-11-26 11:52:20 UTC
Please attach the complete build.log file. Compress it if necessary.
Comment 3 Conrad Kostecki gentoo-dev 2016-11-26 13:22:07 UTC
Created attachment 454428 [details]
build.log
Comment 4 Conrad Kostecki gentoo-dev 2016-11-26 13:23:26 UTC
Created attachment 454430 [details]
build2.log

build2.log with CFLAGS="-march=armv8-a+crc -O2 -pipe"
Comment 5 Jory A. Pratt gentoo-dev 2017-08-26 17:57:29 UTC
If you feel I have closed your bug and it is still a current issue, please reopen and update it completely. We will not work bugs that have no ebuild in tree any longer or can not be reproduced with a current system.

Thank You for your support and understanding
The Mozilla Team
Comment 6 Conrad Kostecki gentoo-dev 2017-09-01 20:51:06 UTC
(In reply to Jory A. Pratt from comment #5)
> If you feel I have closed your bug and it is still a current issue, please
> reopen and update it completely. We will not work bugs that have no ebuild
> in tree any longer or can not be reproduced with a current system.
> 
> Thank You for your support and understanding
> The Mozilla Team

Error still accours.
Comment 7 Conrad Kostecki gentoo-dev 2019-08-03 12:48:59 UTC
Closing, as can't reproduce anymore.