<div dir="ltr">Hi Ihsan,<div><br></div><div style>When trying to package unbound to reproduce your problem, I've got the following error on i386:</div><div style><br></div><div style><div>libtool: compile:  /opt/SUNWspro/bin/cc -I. -I/opt/csw/include -I/opt/csw/include -I/opt/csw/include -I/opt/csw/include -I/opt/csw/include -xO3 -m32 -xarch=pentium_pro -xchip=pentium_pro -xc99 -flto -D_REENTRANT -c util/storage/dnstree.c -o dnstree.o >/dev/null 2>&1</div>

<div>./libtool --tag=CC --mode=compile /opt/SUNWspro/bin/cc -I. -I/opt/csw/include -I/opt/csw/include -I/opt/csw/include -I/opt/csw/include -I/opt/csw/include -xO3 -m32 -xarch=pentium_pro -xchip=pentium_pro -xc99 -flto -D_REENTRANT -o lookup3.lo -c `cat .source`</div>

<div>libtool: compile:  /opt/SUNWspro/bin/cc -I. -I/opt/csw/include -I/opt/csw/include -I/opt/csw/include -I/opt/csw/include -I/opt/csw/include -xO3 -m32 -xarch=pentium_pro -xchip=pentium_pro -xc99 -flto -D_REENTRANT -c util/storage/lookup3.c  -KPIC -DPIC -o .libs/lookup3.o</div>

<div>cc: Warning: illegal option -flto</div><div>"util/storage/lookup3.c", line 76: unexpected ")"</div><div>cc: acomp failed for util/storage/lookup3.c</div><div>gmake: *** [lookup3.lo] Error 1</div>
<div>
gmake: Leaving directory `/home/yann/opencsw/unbound/trunk/work/solaris10-i386/build-isa-pentium_pro/unbound-1.4.20'</div><div>gmake[1]: *** [build-work/solaris10-i386/build-isa-pentium_pro/unbound-1.4.20/Makefile] Error 2</div>

<div>gmake[1]: Leaving directory `/home/yann/opencsw/unbound/trunk'</div><div>gmake: *** [merge-isa-pentium_pro] Error 2</div><div><br></div><div><br></div><div style>You didn't have the same problem ?</div><div style>

<br></div><div style>Yann</div><div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/4/14 İhsan Doğan <span dir="ltr"><<a href="mailto:ihsan@opencsw.org" target="_blank">ihsan@opencsw.org</a>></span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I've build the unbound package with multiple ISA, but excluded the<br>
parts, were CPU optimization is not necessary.<br>
<br>
MERGE_DIRS_isa-sparcv8plus  = $(libdir)<br>
MERGE_DIRS_isa-sparcv8plus += $(sbindir)<br>
MERGE_DIRS_isa-pentium_pro  = $(libdir)<br>
MERGE_DIRS_isa-pentium_pro += $(sbindir)<br>
<br>
ISAXEC_DIRS                  = $(sbindir)<br>
EXTRA_ISAEXEC_EXCLUDE_FILES  = $(sbindir)/unbound-anchor<br>
EXTRA_ISAEXEC_EXCLUDE_FILES += $(sbindir)/unbound-checkconf<br>
EXTRA_ISAEXEC_EXCLUDE_FILES += $(sbindir)/unbound-control<br>
EXTRA_ISAEXEC_EXCLUDE_FILES += $(sbindir)/unbound-control-setup<br>
EXTRA_ISAEXEC_EXCLUDE_FILES += $(sbindir)/unbound-host<br>
<br>
EXTRA_MERGE_EXCLUDE_FILES_isa-pentium_pro  = $(prefix)/sbin/unbound-anchor<br>
EXTRA_MERGE_EXCLUDE_FILES_isa-pentium_pro +=<br>
$(prefix)/sbin/unbound-checkconf<br>
EXTRA_MERGE_EXCLUDE_FILES_isa-pentium_pro += $(prefix)/sbin/unbound-control<br>
EXTRA_MERGE_EXCLUDE_FILES_isa-pentium_pro +=<br>
$(prefix)/sbin/unbound-control-setup<br>
EXTRA_MERGE_EXCLUDE_FILES_isa-pentium_pro += $(prefix)/sbin/unbound-host<br>
<br>
EXTRA_MERGE_EXCLUDE_FILES_isa-sparcv8plus  = $(prefix)/sbin/unbound-anchor<br>
EXTRA_MERGE_EXCLUDE_FILES_isa-sparcv8plus +=<br>
$(prefix)/sbin/unbound-checkconf<br>
EXTRA_MERGE_EXCLUDE_FILES_isa-sparcv8plus += $(prefix)/sbin/unbound-control<br>
EXTRA_MERGE_EXCLUDE_FILES_isa-sparcv8plus +=<br>
$(prefix)/sbin/unbound-control-setup<br>
EXTRA_MERGE_EXCLUDE_FILES_isa-sparcv8plus += $(prefix)/sbin/unbound-host<br>
<br>
And specified the files for the package:<br>
<br>
CATALOGNAME_CSWunbound-host       = unbound_host<br>
SPKG_DESC_CSWunbound-host         = Unbound DNS lookup utility<br>
PKGFILES_CSWunbound-host         += $(sbindir)/unbound-host<br>
PKGFILES_CSWunbound-host         += $(mandir)/man1/unbound-host.1<br>
RUNTIME_DEP_PKGS_CSWunbound-host += CSWlibldns1<br>
RUNTIME_DEP_PKGS_CSWunbound-host += CSWlibssl1-0-0<br>
RUNTIME_DEP_PKGS_CSWunbound-host += CSWlibunbound2<br>
RUNTIME_DEP_PKGS_CSWunbound-host += CSWlibevent2-0-5<br>
<br>
That worked once, but now it produced empty packages.<br>
<br>
What would be the appropriate way to package unbound?<br>
<br>
<br>
<br>
<br>
Ihsan<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
<a href="mailto:ihsan@dogan.ch">ihsan@dogan.ch</a>        <a href="http://blog.dogan.ch/" target="_blank">http://blog.dogan.ch/</a><br>
_______________________________________________<br>
maintainers mailing list<br>
<a href="mailto:maintainers@lists.opencsw.org">maintainers@lists.opencsw.org</a><br>
<a href="https://lists.opencsw.org/mailman/listinfo/maintainers" target="_blank">https://lists.opencsw.org/mailman/listinfo/maintainers</a><br>
.:: This mailing list's archive is public. ::.<br>
</font></span></blockquote></div><br></div>