[test][darwin][trunk] using some undefined signal macros on Power PC

Hello, I guess it is pretty apparent by now, but Boost.Test is causing a lot of regressions in the Sandia-darwin-ppc regression runner with the following: http://tinyurl.com/689u7x ../boost/test/impl/execution_monitor.ipp: In member function 'void boost::detail::system_signal_exception::report() const': ../boost/test/impl/execution_monitor.ipp:292: error: 'ILL_ILLOPN' was not declared in this scope ../boost/test/impl/execution_monitor.ipp:297: error: 'ILL_ILLADR' was not declared in this scope ../boost/test/impl/execution_monitor.ipp:312: error: 'ILL_PRVREG' was not declared in this scope ../boost/test/impl/execution_monitor.ipp:317: error: 'ILL_COPROC' was not declared in this scope ../boost/test/impl/execution_monitor.ipp:322: error: 'ILL_BADSTK' was not declared in this scope ../boost/test/impl/execution_monitor.ipp:332: error: 'FPE_INTDIV' was not declared in this scope ../boost/test/impl/execution_monitor.ipp:337: error: 'FPE_INTOVF' was not declared in this scope ../boost/test/impl/execution_monitor.ipp:367: error: 'FPE_FLTSUB' was not declared in this scope ../boost/test/impl/execution_monitor.ipp:397: error: 'BUS_ADRERR' was not declared in this scope ../boost/test/impl/execution_monitor.ipp:402: error: 'BUS_OBJERR' was not declared in this scope AFACIS <signal.h> does not define these macros in Power PC architectures, further confirmation of this fact here http://source.winehq.org/source/dlls/ntdll/signal_powerpc.c I guess it's easy enough to conditionally #define the offending parts out relying on defined(__POWERPC__). I'd propose a patch mysel but I don't have the appropriate environment to test locally with. And unfortunately we don't have a Darwin/PPC champion yet: http://svn.boost.org/trac/boost/wiki/PlatformChampions HTH, Joaquín M López Muñoz Telefónica, Investigación y Desarrollo

Gennadiy, these errors in Boost.Test are now causing massive failures on the release branch. Can you please look into this ASAP? Thanks, -- Eric Niebler BoostPro Computing http://www.boostpro.com JOAQUIN M. LOPEZ MUÑOZ wrote:
Hello,
I guess it is pretty apparent by now, but Boost.Test is causing a lot of regressions in the Sandia-darwin-ppc regression runner with the following:
../boost/test/impl/execution_monitor.ipp: In member function 'void boost::detail::system_signal_exception::report() const': ../boost/test/impl/execution_monitor.ipp:292: error: 'ILL_ILLOPN' was not declared in this scope ../boost/test/impl/execution_monitor.ipp:297: error: 'ILL_ILLADR' was not declared in this scope ../boost/test/impl/execution_monitor.ipp:312: error: 'ILL_PRVREG' was not declared in this scope ../boost/test/impl/execution_monitor.ipp:317: error: 'ILL_COPROC' was not declared in this scope ../boost/test/impl/execution_monitor.ipp:322: error: 'ILL_BADSTK' was not declared in this scope ../boost/test/impl/execution_monitor.ipp:332: error: 'FPE_INTDIV' was not declared in this scope ../boost/test/impl/execution_monitor.ipp:337: error: 'FPE_INTOVF' was not declared in this scope ../boost/test/impl/execution_monitor.ipp:367: error: 'FPE_FLTSUB' was not declared in this scope ../boost/test/impl/execution_monitor.ipp:397: error: 'BUS_ADRERR' was not declared in this scope ../boost/test/impl/execution_monitor.ipp:402: error: 'BUS_OBJERR' was not declared in this scope
AFACIS <signal.h> does not define these macros in Power PC architectures, further confirmation of this fact here
http://source.winehq.org/source/dlls/ntdll/signal_powerpc.c
I guess it's easy enough to conditionally #define the offending parts out relying on defined(__POWERPC__). I'd propose a patch mysel but I don't have the appropriate environment to test locally with. And unfortunately we don't have a Darwin/PPC champion yet:
http://svn.boost.org/trac/boost/wiki/PlatformChampions
HTH,
Joaquín M López Muñoz Telefónica, Investigación y Desarrollo

Eric Niebler wrote:
Gennadiy, these errors in Boost.Test are now causing massive failures on the release branch. Can you please look into this ASAP?
We need to fix this right away or revert the change that caused the problem. --Beman

On Jul 3, 2008, at 7:37 PM, Beman Dawes wrote:
Eric Niebler wrote:
Gennadiy, these errors in Boost.Test are now causing massive failures on the release branch. Can you please look into this ASAP?
We need to fix this right away or revert the change that caused the problem.
Then we may need to revert the change that added sdk support to darwin.jam as well, as this has broken intel darwin tests (on both trunk and release). -- Noel

Beman Dawes <bdawes <at> acm.org> writes:
Eric Niebler wrote:
Gennadiy, these errors in Boost.Test are now causing massive failures on the release branch. Can you please look into this ASAP?
We need to fix this right away or revert the change that caused the problem.
--Beman
I don't believe this is caused by any changes in Boost.Test. This is just new platform. I'll have time this weekend to figure it out. Sorry for the delay. Lot's of work at the moment.

JOAQUIN M. LOPEZ MUÑOZ <joaquin <at> tid.es> writes:
Hello,
I guess it is pretty apparent by now, but Boost.Test is causing a lot of
regressions
in the Sandia-darwin-ppc regression runner with the following:
Hmm. Strangely enough I see all my unit tests on Sandia-darwin-ppc as passed. I do not have the access to this setup. Can some one point me where I can see the error? Or was it fixed by someone already? Gennadiy
participants (5)
-
Beman Dawes
-
Eric Niebler
-
Gennadiy Rozental
-
JOAQUIN M. LOPEZ MUÑOZ
-
K. Noel Belcourt