[csw-maintainers] nginx needs minimum sparcv8plus

Dagobert Michelsen dam at opencsw.org
Tue Oct 12 20:52:38 CEST 2010


Hi Andy,

Am 12.10.2010 um 20:08 schrieb Andy Igoshin:
> nginx does not support pure v8 arch, only from v8+:
> ---------------------------------------------------
> /opt/studio/SOS11/SUNWspro/bin/cc -c -fast -xipo -xarch=v8 -errwarn= 
> %all -g -
> I/opt/csw/include -I/opt/csw/include/openssl -I src/core -I src/ 
> event -I
> src/event/modules -I src/os/unix -I objs \
>        -o objs/src/core/nginx.o \
>        src/core/nginx.c src/os/unix/ngx_sunpro_sparc64.il
> 22:         .inline ngx_casa,0
> 23:         casa    [%o2] 0x80, %o1, %o0
> 24:         .end
> cg error (as) : "/home/ai/mgar/pkg/nginx/trunk/work/solaris9-sparc/ 
> build-isa-
> sparcv8/nginx-0.8.52/src/os/unix/ngx_sunpro_sparc64.il (template for  
> ngx_casa)",
> line 23 : cannot use SPARC v9 instructions with this target  
> architecture
> cc: cg failed for src/core/nginx.c
> ---------------------------------------------------
>
> may i exclude v8 support from this package?

Wow. Ok, from what I see I suppose you are already using isaexec.
I suggest explicitly not delivering sparcv8 by resetting the sparc
default with
   ISA_DEFAULT_sparc = sparcv8plus
and removing it from
   EXTRA_BUILD_ISAS_sparc
That way it won't even start on sparcv8. cc'ing maintainers@ as this
is of general interest.


Best regards

   -- Dago

>
>
> On Tue of October 12 2010 21:49:45 you wrote:
>> Hi Andy,
>>
>> Am 12.10.2010 um 19:17 schrieb Andy Igoshin:
>>> On Tue of October 12 2010 20:58:57 you wrote:
>>>> Hi Andy,
>>>>
>>>> thanks!
>>>
>>> is it now enough to run only this command?
>>>
>>> gmake platforms
>>
>> Nope.
>>
>>> or these two commands additionally should be run?
>>>
>>> gmake platforms-remerge
>>> gmake platforms-repackage
>>
>> I am unsure what ISA modulations need to be recompiled in your case.
>> Usually I do a full
>>   gmake spotless
>>   gmake platforms
>> before a release if I did some changes to the package build itself.
>>
>>> please remove from /newpkgs packages which i uploaded today.
>>
>> Unfortunately I don't have root on that machine. You can ask
>> Phil to remove it or do it yourself with
>>   ssh bender.opencsw.org
>>   rm /home/newpkgs/nginx*
>> from the host from where you copied your packages.
>>
>>
>> Best regards
>>
>>   -- Dago
>
> -- 
> Andy Igoshin <ai at vsu.ru>                 Voronezh State University
> Phone: +7 (4732) 522406                  Network Operation Center
> Fax:   +7 (4732) 208820                  Voronezh, Russia



More information about the maintainers mailing list