Opened 11 years ago
Closed 11 years ago
#42158 closed defect (fixed)
libbiosig: build fails with universal variant
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | neurodroid (Christoph Schmidt-Hieber) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.1 |
Keywords: | Cc: | ||
Port: | libbiosig |
Description
ld: warning: ignoring file CMakeFiles/cmTryCompileExec713066221.dir/testCCompiler.c.o, file was built for unsupported file format ( 0xCF 0xFA 0xED 0xFE 0x07 0x00 0x00 0x01 0x03 0x00 0x00 0x00 0x01 0x00 0x00 0x00 ) which is not the architecture being linked (i386): CMakeFiles/cmTryCompileExec713066221.dir/testCCompiler.c.o Undefined symbols for architecture i386: "_main", referenced from: implicit entry/start for main executable ld: symbol(s) not found for architecture i386
Attachments (3)
Change History (6)
Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
comment:1 Changed 11 years ago by neurodroid (Christoph Schmidt-Hieber)
Changed 11 years ago by neurodroid (Christoph Schmidt-Hieber)
Attachment: | patch-v3.diff added |
---|
More general patch that uses the private getline implementation only on SL and independently of MacPorts. See ticket #42152.
Changed 11 years ago by neurodroid (Christoph Schmidt-Hieber)
Attachment: | Portfile-libbiosig.diff added |
---|
libbiosig Portfile diff to use only system zlib
comment:2 Changed 11 years ago by neurodroid (Christoph Schmidt-Hieber)
Apologies, the attached files belong to ticket #42159.
comment:3 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
The problem is the portfile overrides the cflags and cxxflags the portgroup sets. Fixed in r117319.
Note: See
TracTickets for help on using
tickets.
That's odd. CMake compiles "without" arch flags although
CMAKE_OSX_ARCHITECTURES
is set to "x86_64;i386":But then it links with arch flags:
Any ideas?