Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 434716 Details for
Bug 583076
media-video/x264-encoder-0.0.20151011: Configure fails on endian test with LTO
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
endian-test.patch
endian-test.patch (text/plain), 1.16 KB, created by
tokiclover
on 2016-05-19 13:08:41 UTC
(
hide
)
Description:
endian-test.patch
Filename:
MIME Type:
Creator:
tokiclover
Created:
2016-05-19 13:08:41 UTC
Size:
1.16 KB
patch
obsolete
>--- configure 2015-10-11 22:45:04.000000000 +0200 >+++ configure 2016-05-19 15:00:42.786947398 +0200 >@@ -901,14 +901,16 @@ > # skip endianness check for Intel Compiler and MSVS, as all supported platforms are little. each have flags that will cause the check to fail as well > CPU_ENDIAN="little-endian" > if [ $compiler = GNU ]; then >- echo "int i[2] = {0x42494745,0}; double f[2] = {0x1.0656e6469616ep+102,0};" > conftest.c >- $CC $CFLAGS conftest.c -c -o conftest.o 2>/dev/null || die "endian test failed" >- if (${cross_prefix}strings -a conftest.o | grep -q BIGE) && (${cross_prefix}strings -a conftest.o | grep -q FPendian) ; then >+ cat <<-EOF > conftest.c >+#include <stdint.h> >+#define IS_BIG_ENDIAN (*(uint16_t *)"\0\xff" < 0x100) >+int main(void) { return IS_BIG_ENDIAN; } >+EOF >+ $CC $CFLAGS -o conftest conftest.c || die "endian test failed" >+ ./conftest || { > define WORDS_BIGENDIAN > CPU_ENDIAN="big-endian" >- elif !(${cross_prefix}strings -a conftest.o | grep -q EGIB && ${cross_prefix}strings -a conftest.o | grep -q naidnePF) ; then >- die "endian test failed" >- fi >+ } > fi > > if [ "$cli_libx264" = "system" -a "$shared" != "yes" ] ; then
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 583076
:
434324
|
434716
|
531320