Bogdan,

Please explain what I am doing wrong. From what I am understanding, I should be able to issue the make command and everything should compile ok, but when I do, I get errors and a unsuccessful compile. When I add the option "-mcpu=ultrasparc" I get a successful compile. I have included a text file of the output from the compile.

Nathaniel

Bogdan-Andrei Iancu wrote:

Hi Brian,

Maybe you should consider reporting the crashing you are mentioning (if they are so many as you say), so somebody could fix them - in this case everybody will be happier , I guess.

If it crashes or not it depends a lot of what functionalities (modules) you are using (nobody can claim he tested all the modules in all possible combinations).

For example I'm running opensips.org SIP service with SVN trunk and I do not get any core dumps...and it is an almost 3K lines config...

So, again, if you get crashes, please report them.

Regards,
Bogdan

PS: if the build is bogus (like in Nathaniel), the runtime will be unstable also - OpenSIPS has a lot of asm code that really depends on arch, so messing the build params may lead to bogus code.



opensipsl...@encambio.com wrote:
Hello Bogdan,

An ven., févr 19, 2010, Bogdan-Andrei Iancu schrieb:
opensipsl...@encambio.com wrote:
An jeu., févr 18, 2010, Nathaniel L Keeling schrieb:
I have compiled opensips 1.6.1 on Solaris Sparc 10. I was able to
compile successfully by adding the parameter "-mcpu=ultrasparc" to
the "DEFS" compile time options in Makefile.defs, but when I
execute opensips, it will die with a core dump. It does thru the
loading of the modules ok but dies later.

Both Solaris 10 Sparc or Solaris 11 x86 do core dump when trying
to use OpenSIPS 1.6.1. Nobody has seem to be able to diagnose this
correctly much less repair the problem.

How comes ? I know people using 1.6 on sparc + Solaris  :P....

I don't know either, but I'm sure that some builds work better
than others. This would particularly be the case if the problem
code was in a certain module or component which some builds are
missing. My build contains almost everything.

If you try the same build parameters to compile 1.6.0 you will
probably find that it not only compiles correctly but runs without
core dumping as well. So much for the

   'it is recommended to upgrade, as it provides important
    stability improvements'

that they write about the 1.6.1 release on the website.

hmmm... if you see the compiling as stability, maybe you are right....

The buildtime is not as problematic as the runtime, which only
rarely coredumps on 1.6.0 but quite often on 1.6.1. I can get
1.6.0 to coredump as well by forcing OpenSIPS to try writing
to TCP connections which don't exist. Being careful with 1.6.0
then it is possible to get a few weeks worth of usage with no
core dump, maybe more.

Now, getting serious... the problem is that since SF trashed the compiled farm, we (or at least I) do not have any sparc / solaris platform were to test the makefile options or the code...

You can do a lot with a single good machine and Xen, but that
is maybe food for another thread. It's sad indeed that no Solaris
platforms are available for testing.

Regards,
Brian

_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



# make prefix=/usr/local/opensips-1.6.1 all
Compiling blacklists.c
gcc  -g -O9 -funroll-loops   -Wall      -DNAME='"opensips"' 
-DVERSION='"1.6.1-notls"' -DARCH='"sparc64"' -DOS='"solaris"' -DCOMPILER='"gcc 
3.4.6"' -D__CPU_sparc64 -D__OS_solaris -D__SMP_yes 
-DCFG_DIR='"/usr/local/opensips-1.6.1/etc/opensips/"' -DPKG_MALLOC -DSHM_MEM  
-DSHM_MMAP -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES 
-DSTATISTICS -DCHANGEABLE_DEBUG_LEVEL -DF_MALLOC  -DFAST_LOCK -DADAPTIVE_WAIT 
-DADAPTIVE_WAIT_LOOPS=1024  -DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H 
-DHAVE_SCHED_YIELD -DHAVE_ALLOCA_H -DUSE_SIGACTION -D_POSIX_PTHREAD_SEMANTICS 
-DHAVE_DEVPOLL -DHAVE_SELECT -c blacklists.c -o blacklists.o
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 223: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 243: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 267: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 298: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 318: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 340: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 371: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 391: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 414: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 455: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 475: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 497: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 594: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 612: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 635: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 667: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 685: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 721: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 753: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 771: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 796: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 868: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 888: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 910: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 1426: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 1446: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 1469: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 1528: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 1548: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 1571: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 2047: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 2067: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 2092: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 2493: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 2513: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 2536: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 2863: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 2883: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 2906: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 3521: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 3539: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 3563: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 3595: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 3613: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 3650: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 3682: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 3700: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 3725: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 3755: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 3775: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 3797: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 3879: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 3897: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 3922: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 3954: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 3972: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 4009: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 4041: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 4059: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 4084: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 4452: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 4472: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 4495: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 4690: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 4727: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 4980: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 4998: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 5026: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 5060: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 5078: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 5109: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 5176: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 5196: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 5220: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 5683: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 5701: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 5730: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 5764: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 5782: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 5815: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 6784: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 6804: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 6829: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 6887: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 6907: error: cannot use v8plus 
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//ccJ6UlSy.s", line 6936: error: cannot use v8plus 
instructions in a non-v8plus target binary
make: *** [blacklists.o] Error 1
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to