[Debian-med-packaging] Bug#790288: Please support ARM (mcontext_t/sigcontext has no member named gregs)

Andreas Tille andreas at an3as.eu
Mon Jun 29 11:18:31 UTC 2015


Hi Corentin,

as far as I remember you have contact to upstream.  Could you please
forward this issue?

Kind regards

        Andreas.

On Sat, Jun 27, 2015 at 05:20:16PM -0400, Martin Michlmayr wrote:
> Package: fw4spl
> Version: 0.9.2-2
> Severity: wishlist
> User: debian-arm at lists.debian.org
> Usertags: arm64
> 
> fw4spl fails to build on at least armel, armhf and arm64 (and possibly
> other architectures) with:
> 
>   error: 'mcontext_t {aka struct sigcontext}' has no member named 'gregs'
> 
> The code is:
> 
> #ifndef __MACOSX__
>         ss << " from " << uc->uc_mcontext.gregs[REG_EIP];
> #endif
> 
> looks like some Linux platforms have to be excluded too, or maybe
> restrict this to x86 or something.  (I don't know anything about
> sigcontext/gregs, so I don't know what the solution is, but please
> forward this bug upstream.)
> 
> Martin
> 
> 
> > sbuild (Debian sbuild) 0.64.1 (13 Oct 2013) on m400-c2n1.hlinux.usa.hp.com
> ...
> > [ 44%] Building CXX object monitor/CMakeFiles/monitor.dir/src/monitor/installSIGSEVBacktrace.cpp.o
> > cd /«PKGBUILDDIR»/obj-aarch64-linux-gnu/monitor && /usr/bin/c++   -DBOOST_ALL_DYN_LINK -DBOOST_DEBUG_PYTHON -DBOOST_LINKING_PYTHON -DBOOST_THREAD_DONT_PROVIDE_DEPRECATED_FEATURES_SINCE_V3_0_0 -DBOOST_THREAD_PROVIDES_FUTURE -DBOOST_THREAD_VERSION=2 -DBUNDLEPATH=\"/usr/share/fw4spl/Bundles/\" -DLIBSFW4SPL=\"/usr/lib/fw4spl/\" -DMONITOR_EXPORTS -DMONITOR_VER=\"0-1\" -DQT_NO_KEYWORDS -DSHAREPATH=\"/usr/share/fw4spl/\" -DSPECIALINSTALL -DSPYLOG_LEVEL=2 -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -O3 -DNDEBUG -fPIC -I/«PKGBUILDDIR»/Bundles/LeafCtrl/monitor/include -I/«PKGBUILDDIR»/SrcLib/core/fwGui/include -I/«PKGBUILDDIR»/SrcLib/core/fwCore/include -I/«PKGBUILDDIR»/SrcLib/core/fwData/include -I/«PKGBUILDDIR»/SrcLib/core/fwCamp/include -I/«PKGBUILDDIR»/SrcLib/core/fwCom/include -I/«PKGBUILDDIR»/SrcLib/core/fwThread/include -I/«PKGBUILDDIR»/SrcLib/core/fwMath/include -I/«PKGBUILDDIR»/SrcLib/core/fwMemory/include -I/
> > «PKGBUILDDIR»/SrcLib/core/fwTools/include -I/«PKGBUILDDIR»/SrcLib/core/fwRuntime/include -I/usr/include/libxml2 -I/«PKGBUILDDIR»/SrcLib/core/fwServices/include -I/«PKGBUILDDIR»/SrcLib/core/fwActivities/include -I/«PKGBUILDDIR»/SrcLib/core/fwMedData/include -I/«PKGBUILDDIR»/SrcLib/core/fwDataCamp/include    -o CMakeFiles/monitor.dir/src/monitor/installSIGSEVBacktrace.cpp.o -c /«PKGBUILDDIR»/Bundles/LeafCtrl/monitor/src/monitor/installSIGSEVBacktrace.cpp
> > /«PKGBUILDDIR»/Bundles/LeafCtrl/monitor/src/monitor/installSIGSEVBacktrace.cpp: In function 'void monitor::bt_sighandler(int, siginfo_t*, void*)':
> > /«PKGBUILDDIR»/Bundles/LeafCtrl/monitor/src/monitor/installSIGSEVBacktrace.cpp:110:43: error: 'mcontext_t {aka struct sigcontext}' has no member named 'gregs'
> >          ss << " from " << uc->uc_mcontext.gregs[REG_EIP];
> >                                            ^
> > /«PKGBUILDDIR»/Bundles/LeafCtrl/monitor/src/monitor/installSIGSEVBacktrace.cpp:118:41: error: 'mcontext_t {aka struct sigcontext}' has no member named 'gregs'
> >      trace[1] = (void *) uc->uc_mcontext.gregs[REG_EIP];
> >                                          ^
> > monitor/CMakeFiles/monitor.dir/build.make:172: recipe for target 'monitor/CMakeFiles/monitor.dir/src/monitor/installSIGSEVBacktrace.cpp.o' failed
> > make[3]: *** [monitor/CMakeFiles/monitor.dir/src/monitor/installSIGSEVBacktrace.cpp.o] Error 1
> > make[3]: Leaving directory '/«PKGBUILDDIR»/obj-aarch64-linux-gnu'
> > CMakeFiles/Makefile2:2394: recipe for target 'monitor/CMakeFiles/monitor.dir/all' failed
> > make[2]: *** [monitor/CMakeFiles/monitor.dir/all] Error 2
> 
> -- 
> Martin Michlmayr
> Linux for HP Helion OpenStack, Hewlett-Packard
> 
> _______________________________________________
> Debian-med-packaging mailing list
> Debian-med-packaging at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-packaging
> 

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list