apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 55418] Solaris 10 does not necessarily have atomic_swap_32() et al.
Date Thu, 16 Apr 2015 04:23:42 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=55418

--- Comment #4 from Daniel Richard G. <skunk@iSKUNK.ORG> ---
Thank you, Matthias.

For my part, the original system on which I got the error has been retired, and
its replacement system---also Solaris 10---does appear to have the functions in
question:

    $ uname -a
    SunOS darkstar2 5.10 Generic_147441-01 i86pc i386 i86pc

    $ grep atomic_swap_32 /usr/include/sys/atomic.h
    extern uint32_t atomic_swap_32(volatile uint32_t *, uint32_t);
    extern uint32_t atomic_swap_32();

There is probably some point release or patch to 5.10 that adds these.

So the same versions of APR (1.4.6) and APR-util (1.5.1) build fine for me on
this system (without --disable-nonportable-atomics), and the APR-util test
suite passes clean. But the APR test suite does not:

    Failed Tests            Total   Fail    Failed %
    ===================================================
    testsockets                 7      1     14.29%
    testuser                    3      1     33.33%
    Programs failed: testall

Six of one, half-dozen of the other....

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


Mime
View raw message