Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Aug 2007 00:04:23 +0200
From:      Danny Pansters <danny@ricin.com>
To:        freebsd-ports-bugs@freebsd.org
Subject:   Re: ports/115336: port avifile on FreeBSD 7.0 not BROKEN with GCC=3.4
Message-ID:  <200708110004.23825.danny@ricin.com>
In-Reply-To: <200708090547.l795lEkb085426@www.freebsd.org>
References:  <200708090547.l795lEkb085426@www.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 09 August 2007 07:47:14 douglas steinwand wrote:
> >Number:         115336
> >Category:       ports
> >Synopsis:       port avifile on FreeBSD 7.0 not BROKEN with GCC=3.4
> >Confidential:   no
> >Severity:       non-critical
> >Priority:       low
> >Responsible:    freebsd-ports-bugs
> >State:          open
> >Quarter:
> >Keywords:
> >Date-Required:
> >Class:          change-request
> >Submitter-Id:   current-users
> >Arrival-Date:   Thu Aug 09 05:50:00 GMT 2007
> >Closed-Date:
> >Last-Modified:
> >Originator:     douglas steinwand
> >Release:        FreeBSD 7-CURRENT
> >Organization:
> >Environment:
>
> FreeBSD thinkpad.fx.org 7.0-CURRENT FreeBSD 7.0-CURRENT #2: Thu Jul 19
> 19:08:52 PDT 2007     root@thinkpad.fx.org:/usr/obj/usr/src/sys/I386  i386
>
> >Description:
>
> The avifile port will compile using GCC=3.4. Edit
> multimedia/avifile/Makefile,v 1.70:
>
> .if ${OSVERSION} >= 700000
> USE_GCC=        3.4
> .endif
>
> However, with this in effect, I also had to edit
> ffmpeg/libavcodec/ppc/Makefile and add --tag=gcc for libtool:
>
> LINK = $(LIBTOOL) --tag=gcc --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS)
> $(LDFLAGS) -o $@
>
> There's probably a better way to do this last bit (via a Makefile setting
> or patch).
>
> >How-To-Repeat:
> >
> >Fix:
>
> Remove BROKEN, replace with USE_GCC=3.4, add libtool tag argument in
> pcc/Makefile.
>
> >Release-Note:
> >Audit-Trail:
> >Unformatted:
>
> _______________________________________________
> 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"

FWIW:

It's quite likely that it's also not broken with gcc4 from ports. Seems that 
the particular version used for 7.0 has some problems that newer snapshots 
don't have. Unfortunately the 7.0 version of gcc is not available through 
ports. But a slightly newer one is.

I'm seeing a similar problem with x11-toolkits/py-kde, builds fine on 6 with 
gcc4 from ports but fails on pointyhat with 7.

This may be a broader problem with that particular gcc that affects more 
ports. If it were up to me, I'd say sync with gcc4 from ports before 
releasing 7.0

Dan



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