WITH_GCC [Was: graphics/png does not build with lang/gcc]

2012-05-06 Thread Andriy Gapon
on 26/04/2012 11:55 Andriy Gapon said the following: on 07/03/2012 18:19 Andriy Gapon said the following: on 07/03/2012 14:11 b. f. said the following: you can just install lang/gcc or lang/gcc46 and set USE_GCC=4.6 in your build environment, an included Makefile, or on the command line

Re: graphics/png does not build with lang/gcc

2012-04-26 Thread Andriy Gapon
on 07/03/2012 18:19 Andriy Gapon said the following: on 07/03/2012 14:11 b. f. said the following: you can just install lang/gcc or lang/gcc46 and set USE_GCC=4.6 in your build environment, an included Makefile, or on the command line And an additional problem with this recommendation is that

Re: graphics/png does not build with lang/gcc

2012-03-08 Thread Gautam
sorry, missed the list. On Thu, Mar 8, 2012 at 3:39 PM, Gautam l...@execve.net wrote: Hi, On Wed, Mar 7, 2012 at 5:41 PM, b. f. bf1...@googlemail.com wrote: On Mon, Feb 27, 2012 at 9:51 PM, Gautam list at execve.net wrote: Should I file a PR for this? There are some unresolved problems

Re: graphics/png does not build with lang/gcc

2012-03-08 Thread Gautam
Hi, On Thu, Mar 8, 2012 at 4:27 PM, b. f. bf1...@googlemail.com wrote: On 3/8/12, Gautam l...@execve.net wrote: gcc46 -fpic -DPIC -O2 -pipe -Wl,-rpath=/usr/local/lib/gcc46 -fno-strict-aliasing -I. -std=gnu99 -fstack-protector -c pngpread.c -o *** Error code 1 1 error *** Error code

Re: graphics/png does not build with lang/gcc

2012-03-08 Thread Tijl Coosemans
On Thursday 08 March 2012 11:10:42 Gautam wrote: On Thu, Mar 8, 2012 at 3:39 PM, Gautam l...@execve.net wrote: On Wed, Mar 7, 2012 at 5:41 PM, b. f. bf1...@googlemail.com wrote: On Mon, Feb 27, 2012 at 9:51 PM, Gautam list at execve.net wrote: Should I file a PR for this? There are some

Re: graphics/png does not build with lang/gcc

2012-03-08 Thread b. f.
On 3/8/12, Tijl Coosemans t...@coosemans.org wrote: On Thursday 08 March 2012 11:10:42 Gautam wrote: On Thu, Mar 8, 2012 at 3:39 PM, Gautam l...@execve.net wrote: On Wed, Mar 7, 2012 at 5:41 PM, b. f. bf1...@googlemail.com wrote: On Mon, Feb 27, 2012 at 9:51 PM, Gautam list at execve.net

Re: graphics/png does not build with lang/gcc

2012-03-07 Thread b. f.
does not build with lang/gcc on 8.2 or 9.0), proposed solution solves it on all three systems. Similar PRs were found: 155334 and 141238. Solution is to add -lssp_nonshared to LDADD in work/libpng-1.4.8/scripts/makefile.freebsd. LDADD+= -lm -lz -lssp_nonshared However, I suppose

Re: graphics/png does not build with lang/gcc

2012-03-07 Thread Andriy Gapon
on 07/03/2012 14:11 b. f. said the following: you can just install lang/gcc or lang/gcc46 and set USE_GCC=4.6 in your build environment, an included Makefile, or on the command line BTW, our traditional taxonomy seems to be: USE_XXX is for stuff that ports really require, WITH_XXX is for user

Re: graphics/png does not build with lang/gcc

2012-03-07 Thread b. f.
On 3/7/12, Andriy Gapon a...@freebsd.org wrote: on 07/03/2012 14:11 b. f. said the following: you can just install lang/gcc or lang/gcc46 and set USE_GCC=4.6 in your build environment, an included Makefile, or on the command line BTW, our traditional taxonomy seems to be: USE_XXX is for

Re: graphics/png does not build with lang/gcc

2012-03-07 Thread Mark Linimon
On Wed, Mar 07, 2012 at 06:19:51PM +0200, Andriy Gapon wrote: BTW, our traditional taxonomy seems to be: USE_XXX is for stuff that ports really require, WITH_XXX is for user preferences. This isn't a taxonomy suggestion, it's a documented requirement:

Re: graphics/png does not build with lang/gcc

2012-03-07 Thread Mark Linimon
On Wed, Mar 07, 2012 at 12:11:52PM +, b. f. wrote: The custom gcc article that you are attempting to use was written at a time when some of the related port Makefiles had some shortcomings that no longer exist, and is not the recommended way to use lang/gcc* for ports. Would you be

Re: graphics/png does not build with lang/gcc

2012-03-07 Thread b. f.
On 3/8/12, Mark Linimon lini...@lonesome.com wrote: On Wed, Mar 07, 2012 at 12:11:52PM +, b. f. wrote: The custom gcc article that you are attempting to use was written at a time when some of the related port Makefiles had some shortcomings that no longer exist, and is not the recommended

Re: graphics/png does not build with lang/gcc

2012-03-06 Thread Gautam
backend to come up ;) and will check this again on 8-stable as well. I have tested this on three systems now -- 8.2-REL (fresh), 9.0-REL(fresh) and 9.0-STABLE (original system). The problem is visible on all of these releases. I have now root-caused this problem (that graphics/png does

Re: graphics/png does not build with lang/gcc

2012-02-27 Thread Gautam
Hi, On Sun, Feb 26, 2012 at 1:43 AM, Jakub Lach jakub_l...@mailplus.pl wrote: To be precise, I'm user of lang/gcc46, but since long before lang/gcc creation, so it shouldn't really matter. Still didnt work for me -- did another buildworld and retried to check if there was something else

Re: graphics/png does not build with lang/gcc

2012-02-25 Thread Gautam
Hi, On Wed, Feb 22, 2012 at 10:10 PM, Jakub Lach jakub_l...@mailplus.pl wrote: make.conf: .if !empty(.CURDIR:M/usr/ports/*) WRKDIRPREFIX= /usr/obj .include /etc/ports.conf .endif ports.conf: CC=gcc46 CXX=g++46 CFLAGS=-O2 -pipe -march=native CXXFLAGS=${CFLAGS} No such problem here.

Re: graphics/png does not build with lang/gcc

2012-02-25 Thread Jakub Lach
I don't think so. Maybe it's P4 specific. -- View this message in context: http://freebsd.1045724.n5.nabble.com/graphics-png-does-not-build-with-lang-gcc-tp5495065p5515744.html Sent from the freebsd-ports mailing list archive at Nabble.com. ___ freebsd

Re: graphics/png does not build with lang/gcc

2012-02-25 Thread Jakub Lach
/etc/libmap.conf libgcc_s.so.1 gcc46/libgcc_s.so.1 libgomp.so.1gcc46/libgomp.so.1 libssp.so.0 gcc46/libssp.so.0 libstdc++.so.6 gcc46/libstdc++.so.6 -- View this message in context: http://freebsd.1045724.n5.nabble.com/graphics-png-does-not-build-with-lang-gcc-tp5495065p5515746.html

Re: graphics/png does not build with lang/gcc

2012-02-25 Thread Jakub Lach
To be precise, I'm user of lang/gcc46, but since long before lang/gcc creation, so it shouldn't really matter. -- View this message in context: http://freebsd.1045724.n5.nabble.com/graphics-png-does-not-build-with-lang-gcc-tp5495065p5515762.html Sent from the freebsd-ports mailing list archive

Re: graphics/png does not build with lang/gcc

2012-02-22 Thread Jakub Lach
make.conf: .if !empty(.CURDIR:M/usr/ports/*) WRKDIRPREFIX= /usr/obj .include /etc/ports.conf .endif ports.conf: CC=gcc46 CXX=g++46 CFLAGS=-O2 -pipe -march=native CXXFLAGS=${CFLAGS} No such problem here. -- View this message in context: http://freebsd.1045724.n5.nabble.com/graphics-png-does

Re: graphics/png does not build with lang/gcc

2012-02-21 Thread Gautam
Hi, Reminder - any pointers on this one? Including Doug who had posted similar problem in 2010. On Sat, Feb 18, 2012 at 4:17 PM, Gautam l...@execve.net wrote: Hi, I am running GENERIC on FreeBSD 9.0-STABLE FreeBSD 9.0-STABLE #2: Mon Jan 30 04:18:20 IST 2012 with the tree csupped just

graphics/png does not build with lang/gcc

2012-02-18 Thread Gautam
Hi, I am running GENERIC on FreeBSD 9.0-STABLE FreeBSD 9.0-STABLE #2: Mon Jan 30 04:18:20 IST 2012 with the tree csupped just before the build. I setup lang/gcc as per http://www.freebsd.org/doc/en/articles/custom-gcc/article.html added following to /etc/make.conf CC=gcc46 CXX=g++46