Opened 9 years ago

Closed 8 years ago

#47394 closed defect (fixed)

cvs-fast-export: build fails on Snow Leopard

Reported by: mojca (Mojca Miklavec) Owned by: mojca (Mojca Miklavec)
Priority: Normal Milestone:
Component: ports Version:
Keywords: snowleopard Cc:
Port: cvs-fast-export

Description

/usr/bin/gcc-4.2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wno-unused-function -Wno-unused-label -Wno-format-zero-length -pthread -march=native -O3  -I. -I/opt/local/var/macports/build/_opt_mports_dports_devel_cvs-fast-export/cvs-fast-export/work/cvs-fast-export-1.30/ -DVERSION=\"1.30\" -DTHREADS -DREDBLACK  -DUSE_MMAP  -DLINESTATS  -DTREEPACK  -Drestrict=__restrict__  -c -o cvsutil.o cvsutil.c
cvsutil.c:1: error: bad value (native) for -march= switchlex.c:1: error: bad value (native) for -march= switch

cvsutil.c:1: error: bad value (native) for -mtune= switch
gram.c:1: error: bad value (native) for -march= switch
dump.c:1: error: bad value (native) for -march= switchgram.c:1: error: bad value (native) for -mtune= switch

dump.c:1: error: bad value (native) for -mtune= switch
lex.c:1: error: bad value (native) for -mtune= switch
cvsnumber.c:1: error: bad value (native) for -march= switch
cvsnumber.c:1: error: bad value (native) for -mtune= switch
import.c:1: error: bad value (native) for -march= switch
import.c:1: error: bad value (native) for -mtune= switch
rbtree.c:1: error: bad value (native) for -march= switch
rbtree.c:1: error: bad value (native) for -mtune= switch
main.c:1: error: bad value (native) for -march= switch
main.c:1: error: bad value (native) for -mtune= switch
make: *** [lex.o] Error 1

Complete log:

Change History (2)

comment:1 Changed 8 years ago by mojca (Mojca Miklavec)

I commented out -march=native in r143045.

comment:2 Changed 8 years ago by mojca (Mojca Miklavec)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.