ports/124501: multimedia/gstreamer-ffmpeg version 0.10.4_1
compile fails (gnome-config, gstreamer-check, many config errors)
Random User
rannumgen at globaleyes.net
Sat Sep 6 01:40:04 UTC 2008
The following reply was made to PR ports/124501; it has been noted by GNATS.
From: Random User <rannumgen at globaleyes.net>
To: bug-followup at FreeBSD.org, rannumgen at globaleyes.net
Cc:
Subject: Re: ports/124501: multimedia/gstreamer-ffmpeg version 0.10.4_1 compile
fails (gnome-config, gstreamer-check, many config errors)
Date: Fri, 05 Sep 2008 20:24:46 -0500
It would appear that
gstreamer-ffmpeg/work/gst-ffmpeg-0.10.4/gst-libs/ext/ffmpeg
has a problem with "-march=-native":
zmbv_decoder=yes
zmbv_decoder_deps=zlib
zmbv_encoder=yes
zmbv_encoder_deps=zlib
check_ld
check_cc
BEGIN /tmp/ffmpeg-conf--55624-.c
1 int main(void){ return 0; }
END /tmp/ffmpeg-conf--55624-.c
gcc _march=-march=native -O2 -pipe -O2 -fno-strict-aliasing
-fno-force-addr -fomit-frame-pointer -c -o /tmp/ffmpeg-conf--55624-.o
/tmp/ffmpeg-conf--55624-.c
gcc: _march=-march=native: No such file or directory
C compiler test failed.
cat /etc/make.conf
# added by use.perl 2007-01-22 12:19:34
PERL_VER=5.8.8
PERL_VERSION=5.8.8
#
WANT_OPENLDAP_VER=24
WITH_SASL=1
WANT_OPENLDAP_SASL=yes
#
WANT_DB4_VER=44
#
WITH_MOZILLA=firefox
#
CFLAGS=-march=native -O2 -pipe
COPTFLAGS=-march=native -O -pipe
#
##X11BASE=/usr/X11R6
#
WITH_OPENSSL_PORT=yes
USE_OPENSSL_RPATH=yes
#
dmesg
FreeBSD 7.0-STABLE #2: Fri Aug 1 23:52:07 CDT 2008
root at dutton3.it.siu.edu:/usr/obj/usr/src/sys/XSYSTEM
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) D CPU 3.40GHz (3391.52-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0xf65 Stepping = 5
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Features2=0xe49d<SSE3,RSVD2,MON,DS_CPL,EST,CNXT-ID,CX16,xTPR,PDCM>
AMD Features=0x20000000<LM>
AMD Features2=0x1<LAHF>
Cores per package: 2
man gcc
.
.
-mtune
native
This selects the CPU to tune for at compilation time by deter-
mining the processor type of the compiling machine. Using
-mtune=native will produce code optimized for the local machine
under the constraints of the selected instruction set. Using
-march=native will enable all instruction subsets supported by
the local machine (hence the result might not run on different
machines).
.
.
-march=cpu-type
Generate instructions for the machine type cpu-type. The choices
for cpu-type are the same as for -mtune. Moreover, specifying
-march=cpu-type implies -mtune=cpu-type.
.
.
More information about the freebsd-multimedia
mailing list