From owner-freebsd-ports@FreeBSD.ORG Mon Jul 27 14:20:01 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 06E9D106564A; Mon, 27 Jul 2009 14:20:01 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-fx0-f217.google.com (mail-fx0-f217.google.com [209.85.220.217]) by mx1.freebsd.org (Postfix) with ESMTP id 5FBAD8FC15; Mon, 27 Jul 2009 14:20:00 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: by fxm17 with SMTP id 17so18398fxm.43 for ; Mon, 27 Jul 2009 07:19:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=2kvNE2Oawd3WRkw0cduKbOdvRwmI94Ov4vVBhoo/k7M=; b=EBadJj5sYEtJg3yDC07SIhxp3Y6Osh9X7xH9x3xLgHvRiARMuqmh1+Ruup7fgK1IoU N2EyHC6bFX0PZeQ8t9PRvQRLBwc2vi5VcwYm8iBK/FH+Ap879CKEKOozpvVZwGzRuZ/I cZXMstRYlTPSdq4tiqd5fzCQNo5UrDFK/UPcA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=cd9kBeYdL6P5sSRkYv7Ek3yKTY7X1SAQwUJtaMKMcAQgGQYMMVx+vSpZ5L4kGW5oLD 5mWNxdcWf/b1QTsdgpfFG0JgbcRbU932nCrsCJLIieFLE/feDovAHpwkS7mCOOo+jgEk gP4qTqzB1jGFS3i4v6Gwp0I6rDL5kP1mWbGr8= MIME-Version: 1.0 Received: by 10.239.131.143 with SMTP id 15mr672631hbn.140.1248704399321; Mon, 27 Jul 2009 07:19:59 -0700 (PDT) In-Reply-To: <4A6D801F.8020607@icyb.net.ua> References: <4A6D801F.8020607@icyb.net.ua> Date: Mon, 27 Jul 2009 14:19:59 +0000 Message-ID: From: "b. f." To: Andriy Gapon Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org, thomas.e.zander@googlemail.com, freebsd-ports@freebsd.org Subject: Re: FreeBSD Port: mplayer-0.99.11_14 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jul 2009 14:20:01 -0000 On 7/27/09, Andriy Gapon wrote: > Just curious, can't newer GCC(s) from ports be used to build those mplayer > snapshots? > We have: > /usr/ports/lang/gcc42 <- 4.2.5 > /usr/ports/lang/gcc43 <- 4.3.4 > /usr/ports/lang/gcc44 <- 4.4.1 > /usr/ports/lang/gcc45 <- 4.5.0 We may have to USE_GCC , at least for some earlier supported versions of the OS, if we want to retain some of the newer mplayer/mencoder features. (I was hoping to avoid this, but it may be the easiest way to solve some problems.) But remember that the entire toolchain is involved, not just the compiler -- our gcc ports are still wired by default to our system gnu binutils, as is our base system compiler. These older base system binutils lack support for some newer instruction sets. obrien@ said some time ago that he planned to update them to the latest GPLv2 versions, but he didn't respond to my later questions about progress on this front, so I'm assuming that this will not happen soon, especially with the release engineering that is now going on. Now that we have a newer devel/binutils port, we may be able to work around this -- for example, you can see how one submitter is trying to incorporate SSE3 support in the old sources: http://www.FreeBSD.org/cgi/query-pr.cgi?pr=ports/137043 As for the missing C99 features in our math and C libraries, we may be able to compensate for them with compiler built-ins, but not all versions of gcc have the necessary functions, nor are they present for all architectures, because the built-ins weren't really intended to be full replacements for library functions, but only to provide optimized versions for some architectures. And some of them are unfinished or broken, even in the latest versions of gcc: http://gcc.gnu.org/c99status.html So there will probably still be some minor surgery that needs to be done. b.