gsl build error on PowerPC
When building gsl on G4 I get this in config.log:
configure:2931: $? = 1
configure:2954: checking for C compiler default output file name
configure:2981: gcc-mp-4.3 -O2 -ftree-vectorize -march=native -O3 -I/opt/local/include -L/opt/local/lib conftest
.c >&5
cc1: error: unrecognized command line option "-march=native"
configure:2984: $? = 1
configure:3022: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "gsl"
| #define PACKAGE_TARNAME "gsl"
| #define PACKAGE_VERSION "1.12"
| #define PACKAGE_STRING "gsl 1.12"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "gsl"
| #define VERSION "1.12"
| #define RELEASED
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3029: error: C compiler cannot create executables
See `config.log' for more details.
This happens as the gcc43 variant has -march=native in configure.cflags that is an option only valid for i386 architecture.
I suggest either removing it (that I did) or selectively enabling it for i386 or either removing it for PPC with a specific variant.
Change History (5)
Cc: |
jochen@… removed
|
Owner: |
changed from macports-tickets@… to jochen@…
|
Description: |
modified (diff)
|
Resolution: |
→ fixed
|
Status: |
new →
closed
|
Fixed in r50121