Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 682284 - media-libs/x265-2.8 CPU_FLAGS_ARM=neon - .../work/x265_2.8/source/common/arm/asm-primitives.cpp:28: In function ‘void x265::setupAssemblyPrimitives(x265::EncoderPrimitives&, int)’: <command-line>: error: incompatible types in assignment of ‘void(const int
Summary: media-libs/x265-2.8 CPU_FLAGS_ARM=neon - .../work/x265_2.8/source/common/arm/...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-01 23:00 UTC by Nuno
Modified: 2020-06-05 15:41 UTC (History)
2 users (show)

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


Attachments
build.log.gz (build.log.gz,15.55 KB, application/gzip)
2019-04-01 23:00 UTC, Nuno
Details
emerge.info.gz (emerge.info.gz,3.02 KB, application/gzip)
2019-04-01 23:01 UTC, Nuno
Details
environment.gz (environment.gz,29.98 KB, application/gzip)
2019-04-01 23:01 UTC, Nuno
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nuno 2019-04-01 23:00:49 UTC
Created attachment 571538 [details]
build.log.gz

media-libs/x265-2.8 fails to build on ARM with CPU_FLAGS_ARM="neon". I was able to build it with -neon.



 * output of `emerge -pqv '=media-libs/x265-2.8::gentoo'`:
[ebuild   R   ] media-libs/x265-2.8  USE="10bit 12bit (-numa) -pic (-power8) -test" CPU_FLAGS_ARM="neon*"



 * tail of build.log (see the attachments for the full log):

```
[ 24%] Building CXX object encoder/CMakeFiles/encoder.dir/weightPrediction.cpp.o
cd /var/tmp/portage/media-libs/x265-2.8/work/x265_2.8/source-.arm-main/encoder && /usr/bin/armv7a-unknown-linux-gnueabihf-g++ -DEXPORT_C_API=1 -DHAVE_ARMV6=1 -DHAVE_INT_TYPES_H=1 -DHAVE_NEON -DHIGH_BIT_DEPTH=0 -DX265_ARCH_ARM=1 -DX265_DEPTH=8 -DX265_NS=x265 -D__STDC_LIMIT_MACROS=1 -I/var/tmp/portage/media-libs/x265-2.8/work/x265_2.8/source/. -I/var/tmp/portage/media-libs/x265-2.8/work/x265_2.8/source/common -I/var/tmp/portage/media-libs/x265-2.8/work/x265_2.8/source/encoder -I/var/tmp/portage/media-libs/x265-2.8/work/x265_2.8/source-.arm-main   -DNDEBUG -O2 -pipe -mfloat-abi=hard -mtls-dialect=gnu -march=armv7-a -fPIC   -Wall -Wextra -Wshadow -std=gnu++98 -mfpu=neon -Wno-array-bounds -ffast-math -fno-exceptions -Wno-uninitialized -o CMakeFiles/encoder.dir/weightPrediction.cpp.o -c /var/tmp/portage/media-libs/x265-2.8/work/x265_2.8/source/encoder/weightPrediction.cpp
make[2]: Leaving directory '/var/tmp/portage/media-libs/x265-2.8/work/x265_2.8/source-.arm-main'
[ 24%] Built target encoder
make[1]: Leaving directory '/var/tmp/portage/media-libs/x265-2.8/work/x265_2.8/source-.arm-main'
make: *** [Makefile:130: all] Error 2
 * ERROR: media-libs/x265-2.8::gentoo failed (compile phase):
 *   emake failed
```
Comment 1 Nuno 2019-04-01 23:01:36 UTC
Created attachment 571540 [details]
emerge.info.gz

emerge --info '=media-libs/x265-2.8::gentoo'
Comment 2 Nuno 2019-04-01 23:01:54 UTC
Created attachment 571542 [details]
environment.gz
Comment 3 Alexis Ballier gentoo-dev 2020-06-05 15:41:32 UTC
should be fixed in 3.4