Displaying 20 results from an estimated 400 matches similar to: "[PATCH] configure.ac: relax linux OS detection"
2017 Jan 09
1
[PATCH] configure.ac: relax linux OS detection
Not all linux hosts match the *-pc-linux-gnu wildcard, causing build
failures for older glibc versions where we need to link with -lrt for
clock_gettime - E.G.:
- arm-unknown-linux-musleabihf
- powerpc-unknown-linux-gnuspe
- bfin-linux-linux-uclibc
..
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
2014 May 24
2
make dllimport/dllexport attributes work with mingw (and others)
On 5/24/14, lvqcl <lvqcl.mail at gmail.com> wrote:
> Ozkan Sezer <sezeroz at gmail.com> ?????(?) ? ????? ?????? Sat, 24 May 2014
> 10:16:15 +0400:
>
>> - changes the _MSC_VER condition to universally _WIN32: MSVC, as well
>> as GCC supports this.
>
> MSYS/MinGW 4.8.3, 4.9.0 can't compile code from git after this patch:
>
> format.c:47:22: error:
2004 Sep 10
1
Altivec, automake
Thanks. I was worried about the assembler invocation but it looks like you
solved that problem.
Smooth build on my pbook (G4, 10.2.8, gcc-3.3, ac-2.59, am-1.6.3). Only problem
was lack of check for docbook-to-man; my patch is attachments 1-2.
Not so smooth on my imac (G3, 10.2.8, gcc-3.3, ac-2.52, am-1.6.1; that's what
came with the last 10.2-compatible dev tools). First problem: typo in
2014 May 04
0
Building FLAC with LTO
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Tried to do this, gcc complained a lot about undefined references.
After a bit of mucking with the code, i came up with a few patches. This
might be a good conversation starter.
The build that i've got out of this does pass the testsuite.
To enable LTO you just need to apply these (for non-W32 builds you probably
only need one of the patches)
2013 Jul 21
1
[PATCH] Link with -no-undefined regardless of the OS
libFLAC* must never have undefined symbols no matter
what is the target platform.
---
configure.ac | 10 +---------
src/libFLAC++/Makefile.am | 2 +-
src/libFLAC/Makefile.am | 2 +-
3 files changed, 3 insertions(+), 11 deletions(-)
diff --git a/configure.ac b/configure.ac
index 50ef80e..ba46caf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -129,19 +129,11 @@
2013 Dec 08
0
[PATCH] configure.ac: fix bashism in ARM optimization handling
From: Peter Korsgaard <peter at korsgaard.com>
Breaks configure when /bin/sh isn't bash with:
configure: Trying to force-enable ARMv6 media instructions...
checking if assembler supports ARMv6 media instructions on ARM... yes
configure: Trying to force-enable NEON instructions...
checking if assembler supports NEON instructions on ARM... yes
./configure.lineno: 12799: Bad substitution
2004 Sep 10
2
Altivec, automake
Here's what I listed in that email. Merging doesn't appear to be necessary. If
you have any build problems, let me know.
Note that my detection code is Darwin-specific. It's a BSD call (sysctl()), so
a change to the platform-detection macros should enable it to work on other
BSDs. However, I don't know what that would be, and I couldn't determine any
safe way to do the check
2017 Jan 13
0
[PATCH 1/4] Do not override CFLAGS, as CFLAGS is a user flag.
* Furthermore, use NDEBUG globally to detect the presence
of building with more debug output information.
AX_CHECK_ENABLE_DEBUG is easier to use, and nowadays
Gnome has also switched to it from its own custom solution.
---
configure.ac | 19 +------
include/FLAC/assert.h | 2 +-
m4/ax_check_enable_debug.m4 | 124 ++++++++++++++++++++++++++++++++++++++++++
2017 Oct 30
2
[PATCH] openbsd-compat/bsd-getpagesize.c: include includes.h for config.h defines
The configure script checks for getpagesize() and sets HAVE_GETPAGESIZE in
config.h, but bsd-getpagesize.c forgot to include includes.h (which
indirectly includes config.h) so the checks always fails, causing linker
issues when linking statically on systems with getpagesize():
http://autobuild.buildroot.net/results/8cc/8cc30818a400c7a392a3de787cabc9cd8425495f/build-end.log
Fix it by including
2003 Aug 25
0
(PR#3979) Re: Re: R 1.7.x and inaccurate log1p() on OpenBSD
Brian Ripley writes today:
>> There is already a usable log1p implementation in src/nmath/log1p, for
>> platforms without it. All we need to do is to arrange to use it on those
>> systems with broken versions. That's not easy without access to such a
>> platform to test it, though.
I need the same kind of test in my own software, so I made some
experiments and
2017 Feb 09
1
[PATCH] Fix compile with cygwin
The underscores are wrong. The comment is also correct.
Also remove the configure.ac option. Otherwise it tries to compile the
windows unicode stuff which POSIX(cygwin) does not understand.
---
configure.ac | 2 +-
include/share/compat.h | 2 +-
src/libFLAC/stream_decoder.c | 3 ---
src/libFLAC/stream_encoder.c | 3 ---
src/share/grabbag/file.c | 8 +-------
5 files
2019 Jan 19
4
RFT: klibc 2.0.5
In preparation for the klibc 2.0.5 release I wrote a basic test script
which:
1. Builds for each architecture (with a cross-compiler where needed)
2. Runs several statically-linked programs (using qemu-user where
needed):
a. Many self-test programs
b. "sh -c exit"
c. "sh -c '.../bin/true; exit'"
The results for the architectures I was able to test are:
2016 Jan 23
1
microbench (benchmark_residual) requires -lrt for clock_gettime()
On my setup with glibc-2.8, benchmark_residual linkage fails with
undefines references to clock_gettime(). Adding -lrt fixes that.
The following is a small patch for it.
Regards.
--
O.S.
diff --git a/configure.ac b/configure.ac
index 993ac33..392485e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -437,6 +437,11 @@ if test x$enable_stack_smash_protection = "xyes" ; then
2014 May 25
1
make dllimport/dllexport attributes work with mingw (and others)
Ozkan Sezer wrote:
> flac.exe built with mingw with or without the dllimport/dllexport patch
> always requires libFLAC-8.dll (because flac/Makefile.am has libFLAC.la
> in flac_LDADD and not libFLAC-static.la), and the patch doesn't make it
> any more or any less dependent on any 'foreign' dlls: the patch doesn't
> change the existent situation in that regard. If
2019 Jan 20
0
RFT: klibc 2.0.5
I've now been able to test shared-library builds:
2.0.4 2.0.5
--------------------------------------------------------------------
alpha/alpha-linux-gnu: fail: fcntl, sigint, 2c fail: sigint, 2c
arm/arm-linux-gnueabi: pass pass
arm/arm-linux-gnueabihf: pass pass
2005 Jan 29
2
Patch : fix configure.in and Makefile.am problems.
Note : I'm subscribed to the list. Please don't CC replies to me.
Hi all,
I am trying to compiler current CV head on a PowerPC G3 Debain system.
Debian test has automake 1.9 which is a little more stringent about
errors than 1.8. The following patch has the following fixes.
0) Remove AC_CANNONIAL_HOST because it has already been invoked
earlier
1) Make sure
2019 Jan 21
1
New test results
My test script is now published at
https://git.kernel.org/pub/scm/linux/kernel/git/bwh/klibc-maint.git/
I found and fixed another bug in QEMU's userland emulation, specific to
sparc. I fixed three bugs in klibc. With those changes, the test
results are:
2.0.4 2.0.5 master
2018 Jul 10
9
[PATCH 0/7] PowerPC64 performance improvements
The following series adds initial vector support for PowerPC64.
On POWER9, flac --best is about 3.3x faster.
Amitay Isaacs (2):
Add m4 macro to check for C __attribute__ features
Check if compiler supports target attribute on ppc64
Anton Blanchard (5):
configure.ac: Remove SPE detection code
configure.ac: Add VSX enable/disable
configure.ac: Fix FLAC__CPU_PPC on little endian, and add
2013 Apr 01
1
flac 1.3.0pre3 pre-release
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 01.04.2013 16:26, LRN wrote:
> On 01.04.2013 14:40, Erik de Castro Lopo wrote:
>> Hi all,
>
>> The latest pre-release is here:
>
>> http://downloads.xiph.org/releases/flac/beta/flac-1.3.0pre3.tar.xz
>
>>
> flac-1.3.0pre3/include/share/compat.h:146:31: fatal error:
> share/win_utf8_io.h: No such file or
2017 Jan 15
0
[PATCH 1/2] Do not override CFLAGS, as CFLAGS is a user flag.
* Furthermore, use NDEBUG globally to detect the presence
of building with more debug output information.
AX_CHECK_ENABLE_DEBUG is easier to use, and nowadays
Gnome has also switched to it from its own custom solution.
---
configure.ac | 52 ++++++++++++------
include/FLAC/assert.h | 2 +-
m4/ax_check_enable_debug.m4 | 124