From owner-freebsd-ports@FreeBSD.ORG Mon Jul 29 10:14:55 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id CAE36215 for ; Mon, 29 Jul 2013 10:14:55 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from eu1sys200aog120.obsmtp.com (eu1sys200aog120.obsmtp.com [207.126.144.149]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A48F52B53 for ; Mon, 29 Jul 2013 10:14:13 +0000 (UTC) Received: from mail-wg0-f43.google.com ([74.125.82.43]) (using TLSv1) by eu1sys200aob120.postini.com ([207.126.147.11]) with SMTP ID DSNKUfZAbR07AYKQCMQo3UHmy+4svk2eZXyL@postini.com; Mon, 29 Jul 2013 10:14:13 UTC Received: by mail-wg0-f43.google.com with SMTP id z12so4627645wgg.34 for ; Mon, 29 Jul 2013 03:14:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:date:from:message-id:to:subject:reply-to:x-gm-message-state; bh=jZOY+zwhXucXklqCLDWaNpvaMjhWtW0T+G1IzjsLbtg=; b=Oy5Wdwxr2gtjJQE+Kns2m+iRoPs5TYqGjrlVKJpI5hlAXqOilh4uwxuZprZi+pHpe2 k7mA/T/u0XonbO5TF/kK8mZ+qMsi803sITuPWizDzI6I/HwpLaMoM7TkOGWCjnzbyBrj L54vbIrarlBmoreVT1BS0UNpL7Qek0o+iFVSCGye3yt7HyPaHOMyUBxnl4c4gCzeuvoN yl+D+Uhsv5Eg00VGV9LhC2ubc3FWhoJFc+cv3I8pJvNCxO2d20GVtZamtdEBzF8uFGN1 8xlcblWFPKrRM7ltrfMKf9IqdONUNu56NDpvQkr5Za2El0amqol8ORezOsYgxgxs5hOT 6yQQ== X-Received: by 10.180.39.236 with SMTP id s12mr6626742wik.14.1375092366815; Mon, 29 Jul 2013 03:06:06 -0700 (PDT) X-Received: by 10.180.39.236 with SMTP id s12mr6626736wik.14.1375092366734; Mon, 29 Jul 2013 03:06:06 -0700 (PDT) Received: from mech-cluster241.men.bris.ac.uk (mech-cluster241.men.bris.ac.uk. [137.222.187.241]) by mx.google.com with ESMTPSA id u9sm21338688wif.6.2013.07.29.03.06.04 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 29 Jul 2013 03:06:05 -0700 (PDT) Sender: Anton Shterenlikht Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.7/8.14.6) with ESMTP id r6TA63q7080584 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 29 Jul 2013 11:06:03 +0100 (BST) (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.7/8.14.6/Submit) id r6TA630o080583 for freebsd-ports@freebsd.org; Mon, 29 Jul 2013 11:06:03 +0100 (BST) (envelope-from mexas) Date: Mon, 29 Jul 2013 11:06:03 +0100 (BST) From: Anton Shterenlikht Message-Id: <201307291006.r6TA630o080583@mech-cluster241.men.bris.ac.uk> To: freebsd-ports@freebsd.org Subject: multimedia/x264 help understand gcc error X-Gm-Message-State: ALoCoQnh2zpbqXdqlMWDzYJViakIQpyszLCLq47rpDeu3JdKTXMgfLAa3OxLY2WsSjY7qd6ekOFu1rw6S58SqO2srNBrPVHb3cbihS9IANX0rBHHRRtk/ZzcnOdxF0MGTnSmiavzJecgAUHi2oOvAd6hkfk7SlJaLWisi9ado8+gfRGsTPKCKy0= X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: mexas@bris.ac.uk List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jul 2013 10:14:56 -0000 multimedia/x264 build fails on ia64 (PR 180456). With default OS gcc the error is: gcc -Wshadow -O3 -ffast-math -O2 -pipe -fno-strict-aliasing -Wall -I. -I. -O2 -pipe -fno-strict-aliasing -fPIC -I/usr/local/include -std=gnu99 -fPIC -fomit-frame-pointer -fno-tree-vectorize -c -o x264.o x264.c In file included from common/osdep.h:60, from common/common.h:88, from x264.c:33: /usr/include/math.h:236: error: expected ')' before '/' token /usr/include/math.h:320: error: expected ')' before '/' token gmake: *** [x264.o] Error 1 but with lang/gcc48, the error is different: gcc48 -Wshadow -O3 -ffast-math -O2 -pipe -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -Wall -I. -I. -O2 -pipe -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -fPIC -I/usr/local/include -std=gnu99 -fPIC -fomit-frame-pointer -fno-tree-vectorize -c -o x264.o x264.c In file included from common/common.h:88:0, from x264.c:33: common/osdep.h:40:24: error: expected ')' before '/' token #define log2(x) (log(x)/0.693147180559945) ^ common/osdep.h:39:26: error: expected ')' before '/' token #define log2f(x) (logf(x)/0.693147180559945f) Has the diagnostics improved in gcc48? Anyway, what is this error telling me, I'm not sure. Thanks Anton