Opened 13 years ago

Closed 10 years ago

#28924 closed defect (fixed)

pbc: universal variant fails

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

Description

libtool: link: ccache /usr/bin/gcc-4.2 -fnested-functions -Wall -W -Wfloat-equal -Wpointer-arith -Wcast-align -Wstrict-prototypes -Wredundant-decls -Wendif-labels -Wshadow -pipe -ffast-math -U__STRICT_ANSI__ -std=gnu99 -g -O2 -arch x86_64 -arch i386 -o pbc/.libs/pbc pbc_pbc-parser.tab.o pbc_pbc-lex.yy.o pbc_pbc-pbc.o pbc_pbc-pbc_getline.o pbc_pbc-darray.o pbc_pbc-symtab.o  -L/opt/local/lib ./.libs/libpbc.dylib /opt/local/lib/libgmp.dylib -lm
ld: warning: in pbc_pbc-parser.tab.o, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in pbc_pbc-lex.yy.o, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in pbc_pbc-pbc.o, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in pbc_pbc-pbc_getline.o, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in pbc_pbc-darray.o, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in pbc_pbc-symtab.o, file was built for unsupported file format which is not the architecture being linked (i386)
Undefined symbols for architecture i386:
  "_main", referenced from:
      start in crt1.10.6.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status

Attachments (1)

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

Download all attachments as: .zip

Change History (2)

Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: main.log added

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

Resolution: fixed
Status: newclosed

The configure script was clearing CFLAGS. Fixed in r114461 by adding a patch to remove that portion of the configure script.

Note: See TracTickets for help on using tickets.