Opened 4 years ago
Closed 4 years ago
#61585 closed defect (fixed)
daemon is not using the right compiler or arch flags
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | kurthindenburg (Kurt Hindenburg) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.4 |
Keywords: | Cc: | ||
Port: | daemon |
Description
gcc -DDAEMON_NAME=\"daemon\" -DDAEMON_VERSION=\"0.7\" -DDAEMON_DATE=\"20201111\" -DDAEMON_URL=\"http://libslack.org/daemon/\" -DHAVE_PTHREAD_RWLOCK=1 -DHAVE_SNPRINTF=1 -DHAVE_VSSCANF=1 -DNO_POSIX_C_SOURCE=1 -DNO_POSIX_SOURCE=1 -DNO_XOPEN_SOURCE=1 -Ilibslack -Wall -pedantic -Wno-comment -Wno-pointer-bool-conversion -o daemon.o -c daemon.c
Note "gcc" instead of the right compiler. Note lack of -arch
flags.
The makefile 1.0 portgroup might be able to help you solve both problems.
Change History (5)
comment:1 Changed 4 years ago by kurthindenburg (Kurt Hindenburg)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:2 Changed 4 years ago by jmroot (Joshua Root)
Resolution: | fixed |
---|---|
Status: | closed → reopened |
It uses the right compiler now, but on the arm64 builder at least, it's still not using the right cflags.
comment:3 Changed 4 years ago by kurthindenburg (Kurt Hindenburg)
Can you explain what is wrong here?
CFLAGS='-pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch arm64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch arm64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch arm64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch arm64'
comment:4 Changed 4 years ago by jmroot (Joshua Root)
The port is setting that variable sure, but the build commands aren't actually using it.
comment:5 Changed 4 years ago by kurthindenburg (Kurt Hindenburg)
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Note: See
TracTickets for help on using
tickets.
In f3085e557d556a2faa4abd1a07a265f5b690911f/macports-ports (master):