Opened 13 years ago

Closed 13 years ago

#28422 closed defect (fixed)

xmedcon: universal variant fails

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: jameskyle@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: xmedcon

Description

xmedcon fails to configure when using the universal variant:

checking for C compiler default output file name... 
configure: error: C compiler cannot create executables
See `config.log' for more details.

config.log says:

configure:3795: checking for C compiler default output file name
configure:3822: ccache /opt/local/bin/gcc-mp-4.4 -pipe -O2 -arch x86_64 -arch i386 -I/opt/local/include -L/opt/local/lib -arch x86_64 -arch i386 conftest.c  >&5
cc1: error: unrecognized command line option "-arch"
cc1: error: unrecognized command line option "-arch"
cc1: error: unrecognized command line option "-arch"
cc1: error: unrecognized command line option "-arch"
configure:3825: $? = 1
configure:3863: result: 
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "XMedCon"
| #define PACKAGE_TARNAME "xmedcon"
| #define PACKAGE_VERSION "0.10.4"
| #define PACKAGE_STRING "XMedCon 0.10.4"
| #define PACKAGE_BUGREPORT "enlf-at-users.sf.net"
| #define PACKAGE "xmedcon"
| #define VERSION "0.10.4"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:3870: error: C compiler cannot create executables
See `config.log' for more details.

Please fix the universal variant so it works, or disable it.

Attachments (2)

main.log (13.3 KB) - added by ryandesign (Ryan Carsten Schmidt) 13 years ago.
config.log (12.5 KB) - added by ryandesign (Ryan Carsten Schmidt) 13 years ago.

Download all attachments as: .zip

Change History (3)

Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: main.log added

Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: config.log added

comment:1 Changed 13 years ago by jameskyle@…

Resolution: fixed
Status: newclosed

The gnu gcc versions do not support universal builds.

I have added a sysgcc variant that conflicts with the gnu gcc variants. This will build universal.

I've also added variant conflicts between the gnu gcc versions and the universal variant to prevent any confusion in the future.

available in r76455

Note: See TracTickets for help on using tickets.