Date: Sun, 27 Apr 2014 05:07:41 -0500 (CDT) From: "Matthew D.Fuller" <fullermd@over-yonder.net> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/189043: multimedia/mlt: broken with clang Message-ID: <3gGlDF4HSZzWnT@draco.over-yonder.net> Resent-Message-ID: <201404271010.s3RAA0hr073463@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 189043 >Category: ports >Synopsis: multimedia/mlt: broken with clang >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Apr 27 10:10:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Matthew D. Fuller >Release: FreeBSD 9.1-STABLE amd64 >Organization: >Environment: System: FreeBSD draco.over-yonder.net 9.1-STABLE FreeBSD 9.1-STABLE #0 r251584: Sun Jun 9 14:23:33 CDT 2013 root@draco.over-yonder.net:/usr/obj/usr/src/sys/DRACO amd64 >Description: Build fails with clang: cc: error: unknown argument: '-fno-tree-dominator-opts' cc: error: unknown argument: '-fno-tree-pre' >How-To-Repeat: >Fix: (raw patch; would probably need to check against gcc as comments in configure suggest, but this gets it building at least). --- configure.orig 2014-04-27 05:02:54.452587512 -0500 +++ configure 2014-04-27 05:03:03.428593032 -0500 @@ -82,9 +82,9 @@ then echo "OPTIMISATIONS=-O2 -pipe" # Since gcc 4.6, this optimization enabled with -O1 causes filter_line_sse2 to crash. - echo "OPTIMISATIONS+=-fno-tree-dominator-opts" + #echo "OPTIMISATIONS+=-fno-tree-dominator-opts" # Since gcc 4.6, this optimization enabled with -O2 causes filter_line_sse2 to crash. - echo "OPTIMISATIONS+=-fno-tree-pre" + #echo "OPTIMISATIONS+=-fno-tree-pre" fi echo "CFLAGS+=-Wall -DPIC \$(TARGETARCH) \$(TARGETCPU) \$(OPTIMISATIONS) \$(MMX_FLAGS) \$(SSE_FLAGS) \$(SSE2_FLAGS) \$(DEBUG_FLAGS) \$(LARGE_FILE)" >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3gGlDF4HSZzWnT>