pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/47321: pkgsrc/multimedia/libvpx could use smarter solaris gcc options



The following reply was made to PR pkg/47321; it has been noted by GNATS.

From: Richard PALO <Richard.PALO%baou.fr@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/47321: pkgsrc/multimedia/libvpx could use smarter solaris
 gcc options
Date: Sun, 23 Dec 2012 11:54:22 +0100

 This is a multi-part message in MIME format.
 --------------010901000702050908040802
 Content-Type: text/plain; charset=UTF-8; format=flowed
 Content-Transfer-Encoding: 8bit
 
 Le 23/12/12 11:25, Ryo ONODERA a écrit :
 > The following reply was made to PR pkg/47321; it has been noted by GNATS.
 >
 > From: Ryo ONODERA <ryo_on%yk.rim.or.jp@localhost>
 > To: gnats-bugs%NetBSD.org@localhost, richard.palo%baou.fr@localhost
 > Cc:
 > Subject: Re: pkg/47321: pkgsrc/multimedia/libvpx could use smarter solaris
 >   gcc options
 > Date: Sun, 23 Dec 2012 19:22:56 +0900 (JST)
 >
 >   Hi,
 >
 >   It seems that your patch is relevant.
 >
 >   But on my SmartOS test environment, /usr/xpg4/bin/grep -E is
 >   selected as TOOLS_PLATFORM.egrep, and following error is occurred.
 >
 >   ===> Building for libvpx-1.1.0nb1
 >       [CREATE] vpx_rtcd.h
 >       [DEP] vpx_ports/x86_abi_support.asm.d
 >   grep: RE error in include +"?+[a-z0-9_/]+\.asm: repetition-operator 
 > operand invalid
 >       [DEP] vpx_ports/emms.asm.d
 >   grep: RE error in include +"?+[a-z0-9_/]+\.asm: repetition-operator 
 > operand invalid
 >       [DEP] vp8/common/x86/loopfilter_block_sse2.asm.d
 >   grep: RE error in include +"?+[a-z0-9_/]+\.asm: repetition-operator 
 > operand invalid
 >       [DEP] vp8/common/x86/sad_sse4.asm.d
 >   grep: RE error in include +"?+[a-z0-9_/]+\.asm: repetition-operator 
 > operand invalid
 >       [DEP] vp8/common/x86/variance_impl_ssse3.asm.d
 >   grep: RE error in include +"?+[a-z0-9_/]+\.asm: repetition-operator 
 > operand invalid
 >       [DEP] vp8/common/x86/subpixel_ssse3.asm.d
 >   grep: RE error in include +"?+[a-z0-9_/]+\.asm: repetition-operator 
 > operand invalid
 >       [DEP] vp8/common/x86/sad_ssse3.asm.d
 >   grep: RE error in include +"?+[a-z0-9_/]+\.asm: repetition-operator 
 > operand invalid
 >       [DEP] vp8/common/x86/sad_sse3.asm.d
 >   grep: RE error in include +"?+[a-z0-9_/]+\.asm: repetition-operator 
 > operand invalid
 >   (snip)
 >
 >   On your OpenIndiana environment, no error?
 >
 >   Thank you.
 >
 >   --
 >   Ryo ONODERA // ryo_on%yk.rim.or.jp@localhost
 >   PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3
 >
 >
 >
 I suffered greatly after initially jumping on the solaris XPG4 
 bandwagon, but quickly abandoned it in favour of the libtool grep and 
 findutils tools (see for example https://www.illumos.org/issues/3353)
 
 my mk.conf contains the following:
 .if exists(${LOCALBASE}/bin/sudo)
 SU_CMD=        ${LOCALBASE}/bin/sudo /bin/bash -c
 .else
 SU_CMD=        pfexec bin/bash -c
 .endif
 
 TOOLS_PLATFORM.install?=        /opt/pkg/bin/install-sh
 TOOLS_PLATFORM.awk?=            /opt/pkg/bin/nawk
 TOOLS_PLATFORM.sed?=            /opt/pkg/bin/nbsed
 TOOLS_PLATFORM.grep?=           ${LOCALBASE}/gnu/bin/grep
 TOOLS_PLATFORM.fgrep?=          ${LOCALBASE}/gnu/bin/fgrep
 TOOLS_PLATFORM.egrep?=          ${LOCALBASE}/gnu/bin/egrep
 TOOLS_PLATFORM.sh?=             /bin/bash
 TOOLS_PLATFORM.xargs?=          #empty
 TOOLS_PLATFORM.find?=           #empty
 
 And my developpement PATH is :
 $ echo $PATH
 
/opt/pkg/sbin:/opt/pkg/bin:/opt/pkg/gnu/bin:/opt/pkg/gcc47/bin:/usr/bin:/usr/sbin:/sbin
 
 This is on OpenIndiana oi_151a7 in a minimal NG zone, which works very 
 nicely for my uses.
 
 I initially bootstrapped with the bits indicated 
 http://www.perkin.org.uk/posts/9000-packages-for-smartos-and-illumos.html but 
 have since rebuilt/reinstalled everything locally and use cvs trunk and 
 git locally...
 
 Can't answer about SmartOS, you will probably need to ask Jonathan 
 Perkin..  I believe that the latests SmartOS *does* take advantage of 
 the link.h and some /usr/bin/ld updates though.
 -- 
 Richard PALO
 TNT PACA, dénomination commerciale de la société BAOU
 SAS au capital de 50.000 â?¬ - RCS TOULON 441 322 385 - APE 4322B
 117, av Marcel Berre - ZI Camp Laurent - 83500 LA SEYNE SUR MER
 tél:04.94.94.39.94 fax:04.94.87.86.67 mailto:Richard.PALO%baou.fr@localhost
 » Avant d'imprimer, pensez aux conséquences environnementales «
 
 --------------010901000702050908040802
 Content-Type: text/x-vcard; charset=utf-8;
  name="Richard_PALO.vcf"
 Content-Transfer-Encoding: base64
 Content-Disposition: attachment;
  filename="Richard_PALO.vcf"
 
 YmVnaW46dmNhcmQNCmZuOlJpY2hhcmQgUEFMTw0KbjpQQUxPO1JpY2hhcmQNCm9yZzpTQVMg
 QkFPVTtUTlQgUEFDQQ0KYWRyOlpJIENhbXAgTGF1cmVudDs7MTE3LCBhdiBNYXJjZWwgQmVy
 cmU7TEEgU0VZTkUgU1VSIE1FUjtWQVI7ODM1MDA7RlJBTkNFDQplbWFpbDtpbnRlcm5ldDpy
 aWNoYXJkLnBhbG9AYmFvdS5mcg0KdGVsO3dvcms6KzMzIDQgOTQgOTQgMzkgOTQNCnRlbDtm
 YXg6KzMzIDQgOTQgODcgODYgNjcNCngtbW96aWxsYS1odG1sOkZBTFNFDQp2ZXJzaW9uOjIu
 MQ0KZW5kOnZjYXJkDQoNCg==
 --------------010901000702050908040802--
 


Home | Main Index | Thread Index | Old Index