Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 703534 - dev-libs/nss-3.48-r1: altivec-types.h:19:1: error: use of 'long long' in AltiVec types is invalid without '-mvsx'
Summary: dev-libs/nss-3.48-r1: altivec-types.h:19:1: error: use of 'long long' in Alti...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-22 12:09 UTC by ernsteiswuerfel
Modified: 2020-02-11 15:02 UTC (History)
1 user (show)

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


Attachments
build.log (nss-3.48-r1:20191222-113253.log,117.23 KB, text/x-log)
2019-12-22 12:09 UTC, ernsteiswuerfel
Details
emerge --info (file_703534.txt,6.37 KB, text/plain)
2019-12-22 12:09 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2019-12-22 12:09:02 UTC
Created attachment 600396 [details]
build.log

[...]
powerpc64-unknown-linux-gnu-gcc -o Linux2.6_ppc_powerpc64-unknown-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/Linux_SINGLE_SHLIB/gcm.o -c -std=c99  -fPIC  -m64 -pipe -ffunction-sections -fdata-sections -DHAVE_STRERROR -DLINUX -Dlinux -Wall -Wshadow -DNSS_NO_GCC48 -DXP_UNIX -DSHLIB_SUFFIX=\"so\" -DSHLIB_PREFIX=\"lib\" -DSHLIB_VERSION=\"3\" -DSOFTOKEN_SHLIB_VERSION=\"3\" -DRIJNDAEL_INCLUDE_TABLES -UDEBUG -DNDEBUG -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_REENTRANT -DNSS_NO_INIT_SUPPORT -DSEED_ONLY_DEV_URANDOM -DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT -DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES -DNSS_USE_64 -DFREEBL_NO_DEPEND -DFREEBL_LOWHASH -DNSS_NO_INIT_SUPPORT -DHAVE_INT128_SUPPORT -DMP_API_COMPATIBLE -I../../dist/Linux2.6_ppc_powerpc64-unknown-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/include -I../../dist/public/nss -I../../dist/private/nss -I../../dist/Linux2.6_ppc_powerpc64-unknown-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/include/dbm -Impi -Iecl -Iverified -Os -mcpu=970 -pipe  -I/usr/include/nspr gcm.c
In file included from gcm.h:34,
                 from gcm.c:12:
altivec-types.h:19:1: error: use of 'long long' in AltiVec types is invalid without '-mvsx'
   19 | typedef __vector unsigned long long vec_u64;
      | ^~~~~~~
altivec-types.h:20:1: error: use of 'long long' in AltiVec types is invalid without '-mvsx'
   20 | typedef __vector signed long long vec_s64;
      | ^~~~~~~
make[3]: *** [../../coreconf/rules.mk:393: Linux2.6_ppc_powerpc64-unknown-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/Linux_SINGLE_SHLIB/gcm.o] Error 1
make[3]: Leaving directory '/var/tmp/portage/dev-libs/nss-3.48-r1/work/nss-3.48/nss-.ppc64/lib/freebl'
make[2]: *** [Makefile:654: libs] Error 2
make[2]: Leaving directory '/var/tmp/portage/dev-libs/nss-3.48-r1/work/nss-3.48/nss-.ppc64/lib/freebl'
make[1]: *** [../coreconf/rules.mk:101: libs] Error 2
make[1]: Leaving directory '/var/tmp/portage/dev-libs/nss-3.48-r1/work/nss-3.48/nss-.ppc64/lib'
make: *** [coreconf/rules.mk:101: libs] Error 2
make: Leaving directory '/var/tmp/portage/dev-libs/nss-3.48-r1/work/nss-3.48/nss-.ppc64'
 * ERROR: dev-libs/nss-3.48-r1::gentoo failed (compile phase):
Comment 1 ernsteiswuerfel archtester 2019-12-22 12:09:44 UTC
Created attachment 600398 [details]
emerge --info
Comment 2 tt_1 2019-12-29 09:35:25 UTC
it's propably https://bugzilla.mozilla.org/show_bug.cgi?id=1602386

freebsd seems to have a hackaround, it might work for linux too: https://svnweb.freebsd.org/ports?view=revision&revision=519827
Comment 3 ernsteiswuerfel archtester 2020-02-11 15:02:49 UTC
(In reply to tt_1 from comment #2)
> it's propably https://bugzilla.mozilla.org/show_bug.cgi?id=1602386
> 
> freebsd seems to have a hackaround, it might work for linux too:
> https://svnweb.freebsd.org/ports?view=revision&revision=519827
Thanks for the link! The bugzilla tracker states that this is fixed in 3.50.

+ I can conform dev-libs/nss-3.50 builds fine again on ppc64 on my G5.