Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#15018 closed defect (fixed)

ncid 0.70 build failure on PowerPC Mac OS X 10.4

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port:

Description

On PowerPC Mac OS X 10.4 ncid 0.70 fails to build:

cc ncidd.o nciddconf.o nciddalias.o getopt_long.o poll.o  -mmacosx-version-min=10.3.9 -arch i386 -o ncidd
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: warning unknown -macosx_version_min parameter value: 10.3.9 ignored (using 10.4)
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: warning fat file: /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libSystem.dylib does not contain an architecture that matches the specified -arch flag: i386 (file ignored)
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: warning fat file: /usr/lib/libSystem.B.dylib does not contain an architecture that matches the specified -arch flag: i386 (file ignored)
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols:
___keymgr_dwarf2_register_sections
__cthread_init_routine
_atexit
_errno
_exit
_mach_init_routine
___error
___sF
_accept
_atoi
_bind
_close
_ctime
_fclose
_fcntl
_fflush
_fgets
_fopen
_fork
_fprintf
_fputs
_fscanf
_getpid
_gettimeofday
_isprint
_kill
_listen
_localtime
_malloc
_open
_optarg
_optind
_raise
_read
_setsid
_setsockopt
_signal
_socket
_sprintf
_stat
_strcat
_strchr
_strcmp
_strcpy
_strdup
_strerror
_strncat
_strncmp
_strncpy
_strrchr
_strstr
_tcflush
_tcgetattr
_tcsetattr
_time
_unlink
_usleep
_write
_isspace
_free
_getopt
_memset
_perror
_select
collect2: ld returned 1 exit status
make[1]: *** [ncidd] Error 1
make: *** [mac] Error 2

I've learned that the author changed the compilation process in 0.70 to always build universal. I missed this when updating the port to 0.70 on my Intel Mac OS X 10.4 machine since its system libraries are universal. But a PowerPC Mac OS X 10.4 machine's system libraries are PowerPC only, so an SDK needs to be used. Also we need to tie this in with the +universal variant so the software only builds universal when requested to do so.

Change History (2)

comment:1 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

I'm going to call this fixed in r36033. There can be a new ticket for enabling the +universal variant if desired.

comment:2 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.