| Summary: | media-libs/ilmbase-2.1.0 fails to build on sparc | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Pacho Ramos <pacho> |
| Component: | Current packages | Assignee: | Gentoo Media-video project <media-video> |
| Status: | RESOLVED TEST-REQUEST | ||
| Severity: | normal | CC: | sparc |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Bug Depends on: | |||
| Bug Blocks: | 526054 | ||
| Attachments: | build.log | ||
|
Description
Pacho Ramos
2015-07-29 18:18:07 UTC
Fails also with musl: libtool: compile: armv7a-hardfloat-linux-musleabi-g++ -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-libs/ilmbase-2.1.0/work/ilmbase-2.1.0/IexMath -I../config -I.. -I/var/tmp/portage/media-libs/ilmbase-2.1.0/work/ilmbase-2.1.0/Iex -I/var/tmp/portage/media-libs/ilmbase-2.1.0/work/ilmbase-2.1.0/config -pipe -O2 -pipe -fomit-frame-pointer -c /var/tmp/portage/media-libs/ilmbase-2.1.0/work/ilmbase-2.1.0/IexMath/IexMathFpu.cpp -fPIC -DPIC -o .libs/IexMathFpu.o /var/tmp/portage/media-libs/ilmbase-2.1.0/work/ilmbase-2.1.0/IexMath/IexMathFpu.cpp: In function ‘void Iex_2_1::FpuControl::restoreControlRegs(const ucontext_t&, bool)’: /var/tmp/portage/media-libs/ilmbase-2.1.0/work/ilmbase-2.1.0/IexMath/IexMathFpu.cpp:283:30: error: ‘const mcontext_t’ has no member named ‘fpregs’ /var/tmp/portage/media-libs/ilmbase-2.1.0/work/ilmbase-2.1.0/IexMath/IexMathFpu.cpp:285:5: error: ‘_fpstate’ was not declared in this scope /var/tmp/portage/media-libs/ilmbase-2.1.0/work/ilmbase-2.1.0/IexMath/IexMathFpu.cpp:285:16: error: ‘kfp’ was not declared in this scope /var/tmp/portage/media-libs/ilmbase-2.1.0/work/ilmbase-2.1.0/IexMath/IexMathFpu.cpp:285:39: error: expected type-specifier before ‘_fpstate’ /var/tmp/portage/media-libs/ilmbase-2.1.0/work/ilmbase-2.1.0/IexMath/IexMathFpu.cpp:285:39: error: expected ‘>’ before ‘_fpstate’ /var/tmp/portage/media-libs/ilmbase-2.1.0/work/ilmbase-2.1.0/IexMath/IexMathFpu.cpp:285:39: error: expected ‘(’ before ‘_fpstate’ /var/tmp/portage/media-libs/ilmbase-2.1.0/work/ilmbase-2.1.0/IexMath/IexMathFpu.cpp:285:49: error: expected primary-expression before ‘>’ token /var/tmp/portage/media-libs/ilmbase-2.1.0/work/ilmbase-2.1.0/IexMath/IexMathFpu.cpp:285:69: error: ‘const mcontext_t’ has no member named ‘fpregs’ /var/tmp/portage/media-libs/ilmbase-2.1.0/work/ilmbase-2.1.0/IexMath/IexMathFpu.cpp:285:76: error: expected ‘)’ before ‘;’ token The cause is very hacky code (including x86 asm) that gets enabled when <ucontext.h> is present. (=> Removing ucontext.h from configure.ac is a workaround.) Maybe it could use stuff from <fenv.h> instead. media-libs/ilmbase-2.3.0 tests pass for me, please retry |