Changes between Initial Version and Version 3 of Ticket #61667


Ignore:
Timestamp:
Nov 27, 2020, 12:24:54 AM (4 years ago)
Author:
alex1platon
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #61667

    • Property Status changed from new to assigned
    • Property Summary changed from mpir fails to build on Big Sur to please delete
    • Property Priority changed from Normal to Not set
    • Property Keywords please delete added; mpir big sur removed
    • Property Owner set to alex1platon
    • Property Type changed from defect to request
    • Property Port please delete added; mpir removed
  • Ticket #61667 – Description

    initial v3  
    1 mpir fails to build on Big Sur
    2 
    3 from main.log
    4 
    5 :info:configure checking compiler /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -isysroot/Library/Dev
    6 eloper/CommandLineTools/SDKs/MacOSX11.0.sdk... no, long long reliability test 2
    7 :info:configure configure: error: could not find a working compiler, see config.log for details
    8 :info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_mpir/mpir/w
    9 ork/mpir-3.0.0" && ./configure --prefix=/opt/local --disable-silent-rules --enable-cxx
    10 :info:configure Exit code: 1
    11 
    12 from config.log
    13 
    14 configure:5204: checking compiler /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -isysroot/Library/Dev
    15 eloper/CommandLineTools/SDKs/MacOSX11.0.sdk
    16 Test compile:
    17 configure:5218: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -isysroot/Library/Developer/CommandLine
    18 Tools/SDKs/MacOSX11.0.sdk conftest.c >&5
    19 configure:5221: $? = 0
    20 configure:5226: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
    21 configure:5229: $? = 0
    22 Test compile: gcc-4.3.2 on 64-bit is bad , try -O1 or -fno-strict-aliasing for the flags
    23 configure:5287: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -isysroot/Library/Developer/CommandLine
    24 Tools/SDKs/MacOSX11.0.sdk conftest.c >&5
    25 configure:5290: $? = 0
    26 configure:5295: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
    27 configure:5298: $? = 0
    28 Test compile: function pointer return
    29 configure:5340: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -isysroot/Library/Developer/CommandLine
    30 Tools/SDKs/MacOSX11.0.sdk conftest.c >&5
    31 configure:5343: $? = 0
    32 configure:5348: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
    33 configure:5351: $? = 0
    34 Test compile: cmov instruction
    35 configure:5396: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -isysroot/Library/Developer/CommandLine
    36 Tools/SDKs/MacOSX11.0.sdk conftest.c >&5
    37 configure:5399: $? = 0
    38 configure:5404: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
    39 configure:5407: $? = 0
    40 Test compile: double -> ulong conversion
    41 configure:5455: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -isysroot/Library/Developer/CommandLine
    42 Tools/SDKs/MacOSX11.0.sdk conftest.c >&5
    43 configure:5458: $? = 0
    44 configure:5463: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
    45 configure:5466: $? = 0
    46 Test compile: double negation
    47 configure:5509: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -isysroot/Library/Developer/CommandLine
    48 Tools/SDKs/MacOSX11.0.sdk conftest.c >&5
    49 configure:5512: $? = 0
    50 configure:5517: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
    51 configure:5520: $? = 0
    52 Test compile: double -> float conversion
    53 configure:5564: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -isysroot/Library/Developer/CommandLine
    54 Tools/SDKs/MacOSX11.0.sdk conftest.c >&5
    55 configure:5567: $? = 0
    56 configure:5572: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
    57 configure:5575: $? = 0
    58 Test compile: unsigned long/double division
    59 configure:5618: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -isysroot/Library/Developer/CommandLine
    60 Tools/SDKs/MacOSX11.0.sdk conftest.c >&5
    61 configure:5621: $? = 0
    62 configure:5626: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
    63 configure:5629: $? = 0
    64 Test compile: __builtin_alloca availability
    65 configure:5668: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -isysroot/Library/Developer/CommandLine
    66 Tools/SDKs/MacOSX11.0.sdk conftest.c >&5
    67 conftest.c:1:43: warning: non-void function does not return a value [-Wreturn-type]
    68 int k; int foo () { __builtin_alloca (k); }
    69                                           ^
    70 1 warning generated.
    71 Undefined symbols for architecture x86_64:
    72   "_main", referenced from:
    73      implicit entry/start for main executable
    74 ld: symbol(s) not found for architecture x86_64
    75 clang: error: linker command failed with exit code 1 (use -v to see invocation)
    76 configure:5671: $? = 1
    77 failed program was:
    78 int k; int foo () { __builtin_alloca (k); }
    79 Test compile: long long reliability test 1
    80 configure:5791: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -isysroot/Library/Developer/CommandLine
    81 Tools/SDKs/MacOSX11.0.sdk conftest.c >&5
    82 configure:5794: $? = 0
    83 configure:5799: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
    84 configure:5802: $? = 0
    85 Test compile: long long reliability test 2
    86 configure:5851: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -isysroot/Library/Developer/CommandLine
    87 Tools/SDKs/MacOSX11.0.sdk conftest.c >&5
    88 conftest.c:6:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
    89 f(int u){int i;long long x;x=u?~0:0;if(x)for(i=0;i<9;i++);x&=g();if(x)g();}
    90 ^
    91 conftest.c:6:62: error: implicit declaration of function 'g' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
    92 f(int u){int i;long long x;x=u?~0:0;if(x)for(i=0;i<9;i++);x&=g();if(x)g();}
    93                                                              ^
    94 conftest.c:6:75: warning: non-void function does not return a value [-Wreturn-type]
    95 f(int u){int i;long long x;x=u?~0:0;if(x)for(i=0;i<9;i++);x&=g();if(x)g();}
    96                                                                           ^
    97 conftest.c:7:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
    98 g(){}
    99 ^
    100 conftest.c:7:5: warning: non-void function does not return a value [-Wreturn-type]
    101 g(){}
    102     ^
    103 4 warnings and 1 error generated.
    104 configure:5854: $? = 1
    105 failed program was:
    106 /* The following provokes an internal compiler error on powerpc-apple-darwin.
    107    Extracted from mpz/cfdiv_q_2exp.c.  Causes Apple's gcc 3.3 build 1640 and
    108    1666 to get an ICE with -O1 -mpowerpc64.  */
    109 
    110 #ifdef __GNUC__
    111 f(int u){int i;long long x;x=u?~0:0;if(x)for(i=0;i<9;i++);x&=g();if(x)g();}
    112 g(){}
    113 #else
    114 int dummy;
    115 #endif
    116 
    117 int main () { return 0; }
    118 configure:6199: result: no, long long reliability test 2
    119 configure:6359: error: could not find a working compiler, see config.log for details
     1please delete