Opened 15 years ago
Last modified 15 years ago
#19437 closed defect
gsl build error on PowerPC — at Version 3
Reported by: | anddam (Andrea D'Amore) | Owned by: | jochen@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.1 |
Keywords: | gsl powerpc ppc march error | Cc: | |
Port: | gsl |
Description (last modified by anddam@…)
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 (3)
comment:1 Changed 15 years ago by anddam@…
Cc: | jochen@… added |
---|
comment:2 Changed 15 years ago by anddam@…
Cc: | jochen@… removed |
---|---|
Owner: | changed from macports-tickets@… to jochen@… |
comment:3 Changed 15 years ago by anddam@…
Description: | modified (diff) |
---|
Note: See
TracTickets for help on using
tickets.