Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jul 2010 10:38:01 +0200
From:      Philippe =?iso-8859-1?Q?Aud=E9oud?= <jadawin@FreeBSD.org>
To:        Horvath Andras <han@log69.com>
Cc:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/148773: [PATCH] graphics/aaphoto: update to 0.38
Message-ID:  <20100720083801.GC11445@tuxaco.net>
In-Reply-To: <20100720095756.11d1c74b@dell.andras>
References:  <201007200653.o6K6rMaM079521@freefall.freebsd.org> <20100720091710.36452d59@dell.andras> <20100720073407.GA11445@tuxaco.net> <20100720095756.11d1c74b@dell.andras>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 20 Jul 2010, Horvath Andras wrote:

> Hi,
>=20
> As i see, you tested it on amd64, which i also tested it on.
>=20
> I'd like to ask for help to test it on a sparc or ppc system to
> compile. It is supposed to compile without the OpenMP option switches.
>=20
> AFAIK the sparc platform has only GCC v3, and therefore it doesn't have
> support for OpenMP. Just like with OS under 7.0 before GCC 4.2.
>=20
> I agree with you, it may be better that way to test if it's not i386 or
> amd64 platform, then it should compile without openmp. The only case it
> should compile with openmp if OS is above 7.0 and the arch is whether
> amd64 or i386.
>=20
[...]

Please, have a look here: http://paste.openbsd-france.org/?show=3Dmbd94c80


> I attached another patch. Important part is:
>=20
> -.if ${ARCH} !=3D "amd64" && ${ARCH} !=3D "i386"
> -BROKEN=3D                Does not compile on !amd64 and !i386
> -.endif
> -
> -.if ${OSVERSION} >=3D 700000
> +.if ${ARCH} =3D=3D "amd64" || ${ARCH} =3D=3D "i386" && ${OSVERSION} >=3D=
 700000
>  CFLAGS+=3D       -fopenmp -D__OPENMP__
>  .endif
>=20
>=20
> If somebody could be kind to test it on a sparc, ia64 or pcc system.
>=20
> Thanks.
>=20
>=20
> On Tue, 20 Jul 2010 09:34:07 +0200
> Philippe Aud=E9oud <jadawin@FreeBSD.org> wrote:
>=20
> > On Tue, 20 Jul 2010, Horvath Andras wrote:
> >=20
> > > Could anybody help me test the port with the patch to compile on a
> > > tier-2 hardware and confirm that it works?
> > >=20
> > >=20
> > > On Tue, 20 Jul 2010 06:53:22 GMT
> > > jadawin@FreeBSD.org wrote:
> > >=20
> > > > Synopsis: [PATCH] graphics/aaphoto: update to 0.38
> > > >=20
> > > > Responsible-Changed-From-To: freebsd-ports-bugs->jadawin
> > > > Responsible-Changed-By: jadawin
> > > > Responsible-Changed-When: Tue Jul 20 06:53:22 UTC 2010
> > > > Responsible-Changed-Why:=20
> > > > I'll take it.
> > > >=20
> > > > http://www.freebsd.org/cgi/query-pr.cgi?pr=3D148773
> > > _______________________________________________
> > > freebsd-ports-bugs@freebsd.org mailing list
> > > http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
> > > To unsubscribe, send any mail to
> > > "freebsd-ports-bugs-unsubscribe@freebsd.org"
> >=20
> >=20
> > Hello,
> >=20
> > I tested it on my tinderbox:
> >=20
> > [...]
> > cd .
> > && /bin/sh /work/a/ports/graphics/aaphoto/work/aaphoto-0.38/missing
> > --run autoheader autoheader: not found
> > WARNING: `autoheader' is missing on your system.  You should only need
> > it if
> >          you modified `acconfig.h' or `configure.ac'.  You might want
> >          to install the `Autoconf' and `GNU m4' packages.  Grab them
> >          from any GNU archive site.
> > [...]
> >=20
> > from http://a.tchoum.info/tb/logs/7.1-FreeBSD/aaphoto-0.38.log
> >=20
> > btw i don't really understand why=20
> >=20
> > -.if ${ARCH} !=3D "amd64" && ${ARCH} !=3D "i386"
> > -BROKEN=3D         Does not compile on !amd64 and !i386
> > -.endif
> > -
> > -.if ${OSVERSION} >=3D 700000
> > +.if ${OSVERSION} >=3D 700000 && \
> > +        ${ARCH} !=3D "ia64" && \
> > +        ${ARCH} !=3D "powerpc" && \
> > +        ${ARCH} !=3D "powerpc64" && \
> > +        ${ARCH} !=3D "sparc64"
> >=20
> > is better. if ${ARCH} !=3D "amd64" && ${ARCH} !=3D "i386" is enough to
> > test arch.
> >=20
> > Regards,
> >=20
> _______________________________________________
> freebsd-ports-bugs@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
> To unsubscribe, send any mail to "freebsd-ports-bugs-unsubscribe@freebsd.=
org"

--=20
Philippe Aud=E9oud
"Multiple exclamation marks are a sure sign of a diseased mind."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100720083801.GC11445>