[sr-dev] Module compile problems on Solaris

Richard Good richgood2005 at gmail.com
Wed Aug 31 12:34:34 CEST 2011


Hi,

I'm having some strange compile problems with the malloc_test and tm module.

The core compiles correctly but when I do make modules I get:
*CC (gcc) [M malloc_test.so]             malloc_test.o*
*/var/tmp//cc2iaGsC.s: Assembler messages:*
*/var/tmp//cc2iaGsC.s:1280: Error: suffix or operands invalid for `xadd'*
*/var/tmp//cc2iaGsC.s:1813: Error: suffix or operands invalid for `xadd'*
*/var/tmp//cc2iaGsC.s:2331: Error: suffix or operands invalid for `xadd'*
*make[1]: *** [malloc_test.o] Error 1*

If I remove the malloc_test module from compliation (As I am not using it)
when I do make modules I get:
*CC (gcc) [M tm.so]              t_cancel.o*
*/var/tmp//ccWeaWKH.s: Assembler messages:*
*/var/tmp//ccWeaWKH.s:105: Error: suffix or operands invalid for `cmpxchg'*
*/var/tmp//ccWeaWKH.s:155: Error: suffix or operands invalid for `cmpxchg'*
*/var/tmp//ccWeaWKH.s:241: Error: suffix or operands invalid for `cmpxchg'*
*/var/tmp//ccWeaWKH.s:259: Error: suffix or operands invalid for `cmpxchg'*
*/var/tmp//ccWeaWKH.s:570: Error: suffix or operands invalid for `cmpxchg'*
*make[1]: *** [t_cancel.o] Error 1*

My machine is: SunOS HOST_NAME 5.11 snv_151a i86pc i386 i86pc Solaris and my
gcc version is gcc version 3.4.3 (csl-sol210-3_4-20050802)

I have successfully compiled and run this on an identical Solaris setup with
the same Makefile configuration.

Has anyone had a similar problem?

Regards
Richard.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20110831/eebb5371/attachment.htm>


More information about the sr-dev mailing list