Displaying 20 results from an estimated 34 matches for "force_cpusubtype_all".
2005 Jan 30
2
Patch : Fix one more Linux PowerPC problem
Josh,
Once more patch. The gcc on Linux PowerPC does not have the
-force_cpusubtype_ALL flag. On the Debian man page, that
compiler option is listed as being Darwin specific.
Erik
--- src/libFLAC/Makefile.am 30 Jan 2005 18:44:46 -0000 1.58
+++ src/libFLAC/Makefile.am 31 Jan 2005 02:33:14 -0000
@@ -40,7 +40,7 @@
CPUCFLAGS = -faltivec -force_cpusubtype_ALL -DFLAC__NO_ASM...
2001 Jan 29
1
Mac OS X/Darwin patch for libvorbis
...l -D__NO_MATH_INLINES -fsigned-char -mv8"
CFLAGS="-O20 -ffast-math -D__NO_MATH_INLINES -fsigned-char -mv8"
PROFILE="-pg -g -O20 -D__NO_MATH_INLINES -fsigned-char -mv8" ;;
+ *-*-darwin*)
+ DEBUG="-DDARWIN -fno-common -force_cpusubtype_ALL -Wall -g -O0 -fsigned-char"
+ CFLAGS="-DDARWIN -fno-common -force_cpusubtype_ALL -Wall -g -O4 -ffast-math -fsigned-char"
+ PROFILE="-DDARWIN -fno-common -force_cpusubtype_ALL -Wall -g -pg -O4 -ffast-math -fsigned-char";;
*)...
2004 Jun 10
4
patches for xiph build setup
Hi,
I offered some time ago to do some build cleanup. Today I did so and
here's my slew of patches.
Basically, they
- touch ogg, vorbis, vorbis-tools and theora
- fix a bunch of autotools issues
- uniformize the use of them across the four
- fix compile/link flags
- use pkgconfig if it's available to detect flags
- for vorbis-tools, generate and use config.h
- add -uninstalled .pc stuff
2004 Jun 10
4
patches for xiph build setup
Hi,
I offered some time ago to do some build cleanup. Today I did so and
here's my slew of patches.
Basically, they
- touch ogg, vorbis, vorbis-tools and theora
- fix a bunch of autotools issues
- uniformize the use of them across the four
- fix compile/link flags
- use pkgconfig if it's available to detect flags
- for vorbis-tools, generate and use config.h
- add -uninstalled .pc stuff
2012 Aug 16
3
[LLVMdev] MIPS & GP register
....s
This GCC invocation gives the error message "i686-apple-darwin11-llvm-gcc-4.2: 0: No such file or directory", I think because of the -G 0 flag. Here's the matching assembler invocation:
/usr/llvm-gcc-4.2/bin/../libexec/gcc/i686-apple-darwin11/4.2.1/as
-arch x86_64 -force_cpusubtype_ALL -G 0
-o Coach12p/RfiUiAssetsCompiled1.o
/var/folders/mk/0mblc5810cjgs0nylrkjxqbm0000gq/T/RfiUiAssetsCompiled1-cNtWix.s
This is the invocation that says:
FATAL:/usr/bin/../libexec/as/x86_64/as: I don't understand 'G' flag!
As I mentioned above, I tried taking out...
2004 Aug 06
2
Icecast 2.0 in OS X Server?
...pple XServe running OS X 10.2.3. The problem seems to stem from one
of the libraries required by IceCast, specifically libvorbis.
When running MAKE in an attempt to install libvorbis I get the
following:
<p>Making all in examples
/bin/sh ../libtool --mode=link gcc -DDARWIN -fno-common
-force_cpusubtype_ALL -Wall -g -O4 -ffast-math -fsigned-char
-DUSE_MEMORY_H -all-static -o decoder_example decoder_example.o
../lib/libvorbis.la -lm -logg
gcc -DDARWIN -fno-common -force_cpusubtype_ALL -Wall -g -O4 -ffast-math
-fsigned-char -DUSE_MEMORY_H -static -o decoder_example
decoder_example.o ../lib/.libs...
2009 Mar 10
1
[LLVMdev] Generating DWARF info
...n my resulting assembly
file, I see the DWARF sections with apparently valid data:
.section __DWARF,__debug_info,regular,debug
etc.
As soon as I send my assembly to gcc it disappears. I can call 'as'
directly as gcc does, and at this point the debug info disappears:
as -g -arch i386 -force_cpusubtype_ALL -o random.o random.s
Am I missing a step or not doing something properly to keep my debug
info preserved?
Any tips or pointers would be appreciated!
Thanks,
Kyle
2013 Jan 05
1
[LLVMdev] LLVM triple and Apple ld64 behavior
Hello,
I wanted to know about the reasons Apple dropped the support for "arm" target in its ld64. After searching in the sourcecode I found out that ld64 supports armv4 armv5 armv6 armv7 and its subtypes. The code shows that -force_cpusubtype_ALL for ARM targets is no more supported in "src/ld/options.cpp") and static const ARMSubType ARMSubTypes[] doesn't include "arm" as a possible subtype. My question is whether this behavior is required by LLVM, which does not support an unspecific ARM target or it's Apple de...
2012 Dec 12
1
[PATCH 2/5] autogen.sh: replace this by a simple call to autoreconf
....am
> +++ b/src/libFLAC/Makefile.am
> @@ -34,6 +34,9 @@ noinst_LTLIBRARIES = libFLAC-static.la
> if DEBUG
> DEBUGCFLAGS = -DFLAC__OVERFLOW_DETECT
> endif
> +
> +# FIXME: The following logic should be part of configure, not of Makefile.am
> +
> if FLaC__CPU_PPC
> # The -force_cpusubtype_ALL is needed to insert a ppc64 instruction
> # into cpu.c with an asm().
I committed this FIXME comment by mistake, although I stand by its content ;). Anyway, it logically does not really belong into this commit, so you may want to prune it before applying. Alternatively, I can also re-roll the p...
2013 Dec 04
1
[PATCH] Fix Makefile.am altivec logic
...zacarias.com.ar>
---
src/libFLAC/Makefile.am | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/libFLAC/Makefile.am b/src/libFLAC/Makefile.am
index 247e33c..258de40 100644
--- a/src/libFLAC/Makefile.am
+++ b/src/libFLAC/Makefile.am
@@ -47,8 +47,7 @@ CPUCFLAGS = -faltivec -force_cpusubtype_ALL -DFLAC__NO_ASM
else
# Linux-gcc for PPC does not have -force_cpusubtype_ALL, it is Darwin-specific
CPUCFLAGS =
-if FLaC__CPU_PPC_SPE
-else
+if FLaC__USE_ALTIVEC
CPUCFLAGS += -maltivec -mabi=altivec
endif
#@@@ PPC optimizations temporarily disabled
--
1.8.3.2
2014 Jul 03
0
PPC asm is disabled since Jan 2005? Why?
...c2c7cb9faf
http://git.xiph.org/?p=flac.git;a=commitdiff;h=3c8d2973cb87e318c11f3a487f2204bf0d673176
+AM_CONDITIONAL(FLaC__HAS_AS__TEMPORARILY_DISABLED, test "yes" = "no")
-if FLaC__HAS_AS
+#@@@@@@
+if FLaC__HAS_AS__TEMPORARILY_DISABLED
-CPUCFLAGS = -maltivec -mabi=altivec -force_cpusubtype_ALL
+#@@@@@@ PPC optimizations temporarily disabled
+CPUCFLAGS = -maltivec -mabi=altivec -force_cpusubtype_ALL -DFLAC__NO_ASM
Does it mean that PowerPC/Altivec asm optimizations were disabled almost 10 years ago?
2014 Apr 20
1
Configure error, Ogg not found on Mac OS X
...fix=/usr --with-ogg-libraries=/usr/lib \
? --with-ogg-includes=/usr/include --enable-shared --disable-static
checking for Ogg... no
*** Could not run Ogg test program, checking why...
The config.log shows:
configure:12648: checking for Ogg
configure:12683: clang -o conftest -DDARWIN -fno-common -force_cpusubtype_ALL -Wall -g -O4 -ffast-math -fsigned-char -Wdeclaration-after-statement? -DUSE_MEMORY_H -I/usr/include?? conftest.c? -L/usr/lib -logg >&5
clang: warning: -O4 is equivalent to -O3
ld: library not found for -logg
clang: error: linker command failed with exit code 1 (use -v to see invocation)
The...
2000 Apr 21
5
BeOS diffs
HI,
how do I get mods applied to Vorbis, I'm not a
cvs guru and I don't know much about configure scripts.
BeOS has this little quirk of being 99% POSIX compliant so these
mods are required for vorbis to compile.
To define int64_t in codec.h
#ifdef __BEOS__
#include <inttypes.h>
#endif
run.c in vq needs 'changing' around line 141 becuase
S_IFSOCK isn't
2010 Apr 29
3
[LLVMdev] Mach-O LTO and local relocations
I am wondering how the following issue was handled for
libLTO? We have a working patch to implement the FSF gcc
LTO on darwin which now passes all of the liblto testsuite
but are seeing linker issues with larger programs like
aermod...
as -arch x86_64 -force_cpusubtype_ALL -o aermod.o aermod.s
/usr/bin/ld -dynamic -arch x86_64 -macosx_version_min 10.6.3 -weak_reference_mismatches non-weak -o aermod -lcrt1.10.5.o -L./ aermod.o -lgfortran -lgcc_s.10.5 -lgcc_ext.10.5 -no_compact_unwind -lSystem -v
@(#)PROGRAM:ld PROJECT:ld64-97.2
Library search paths:...
2012 Aug 16
0
[LLVMdev] MIPS & GP register
...invocation gives the error message "i686-apple-darwin11-llvm-gcc-4.2: 0: No such file or directory", I think because of the -G 0 flag. Here's the matching assembler invocation:
>
> /usr/llvm-gcc-4.2/bin/../libexec/gcc/i686-apple-darwin11/4.2.1/as
> -arch x86_64 -force_cpusubtype_ALL -G 0
> -o Coach12p/RfiUiAssetsCompiled1.o
> /var/folders/mk/0mblc5810cjgs0nylrkjxqbm0000gq/T/RfiUiAssetsCompiled1-cNtWix.s
>
> This is the invocation that says:
>
> FATAL:/usr/bin/../libexec/as/x86_64/as: I don't understand 'G' flag!
>
> As I...
2014 Jul 03
4
[PATCH] two patches of doubtful usefulness
Erik de Castro Lopo wrote:
>> There's the following code in stream_decoder.c:
>
> Like you, I don't see a lot of value in these. I think I'll decline
> these.
FLAC__lpc_restore_signal_asm_ia32_mmx compares 'order' argument with 4
and if it's greater then it jumps to FLAC__lpc_restore_signal_asm_ia32.
I wonder why the same wasn't done for PPC/Altivec:
2010 Apr 30
0
[LLVMdev] Mach-O LTO and local relocations
...h wrote:
> I am wondering how the following issue was handled for
> libLTO? We have a working patch to implement the FSF gcc
> LTO on darwin which now passes all of the liblto testsuite
> but are seeing linker issues with larger programs like
> aermod...
>
> as -arch x86_64 -force_cpusubtype_ALL -o aermod.o aermod.s
> /usr/bin/ld -dynamic -arch x86_64 -macosx_version_min 10.6.3 -weak_reference_mismatches non-weak -o aermod -lcrt1.10.5.o -L./ aermod.o -lgfortran -lgcc_s.10.5 -lgcc_ext.10.5 -no_compact_unwind -lSystem -v
> @(#)PROGRAM:ld PROJECT:ld64-97.2
> Library...
2013 Jul 17
0
opusfile, compiler warnings
...arning: integer constant out of range
# x86-Linux builds / gcc-4.4.7
src/opusfile.c: In function 'op_calc_bitrate':
src/opusfile.c:1777: warning: integer constant is too large for 'long' type
## Mac OS X ppc and x86 builds (against 10.4 SDK)
## additional CFLAGS used: -fno-common -force_cpusubtype_ALL
$ ./powerpc-apple-darwin9-gcc -v
Using built-in specs.
Target: powerpc-apple-darwin9
Configured with: ../gcc_40-5494/configure --prefix=/opt/cross_osx-ppc
--disable-checking --enable-languages=c,objc,c++,obj-c++
--with-as=/opt/cross_osx-ppc/bin/powerpc-apple-darwin9-as
--with-ld=/opt/cross_osx-ppc/...
2010 Apr 30
1
[LLVMdev] Mach-O LTO and local relocations
...how the following issue was handled for
> > libLTO? We have a working patch to implement the FSF gcc
> > LTO on darwin which now passes all of the liblto testsuite
> > but are seeing linker issues with larger programs like
> > aermod...
> >
> > as -arch x86_64 -force_cpusubtype_ALL -o aermod.o aermod.s
> > /usr/bin/ld -dynamic -arch x86_64 -macosx_version_min 10.6.3 -weak_reference_mismatches non-weak -o aermod -lcrt1.10.5.o -L./ aermod.o -lgfortran -lgcc_s.10.5 -lgcc_ext.10.5 -no_compact_unwind -lSystem -v
> > @(#)PROGRAM:ld PROJECT:ld64-97.2
>...
2012 Aug 16
0
[LLVMdev] MIPS & GP register
On Wed, Aug 15, 2012 at 10:17 PM, Carl Norum <carl at lytro.com> wrote:
>> -march=mips32r2
>> -mtune=4kem
>> -msoft-float
>> -EL
>>
>> -Xclang -triple -Xclang mipsel-sde-elf
>> -Xclang -mrelocation-model -Xclang static
>>
>> -Xclang -mllvm -Xclang -mips-ssection-threshold=0
>> -Xclang -mllvm -Xclang