Opened 4 years ago

Closed 4 years ago

#61897 closed defect (fixed)

tcl @8.6.10_0 +corefoundation +threads : configure tests failing with "implicitly declaring ... function" error

Reported by: lmhaffner Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: bigsur Cc:
Port: tcl

Description

A number of tests in configure are failing as this warning seems to have been elevated to an error in macOS 11.x/XCode 12.3(?). One example from the attached config.log:

conftest.c:26:7: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimp
licit-function-declaration]
      exit(2);
      ^
conftest.c:26:7: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit'
1 error generated.

In some cases, this prevents an expected success (e.g., strtoul implementation testing) and is leading to odd errors downstream (e.g., tclx compilation failing due to a missing symbol in libtclstub8.6.a).

Attachments (1)

config.log (137.8 KB) - added by lmhaffner 4 years ago.
config.log

Download all attachments as: .zip

Change History (3)

Changed 4 years ago by lmhaffner

Attachment: config.log added

config.log

comment:1 Changed 4 years ago by jmroot (Joshua Root)

Owner: set to MarcusCalhoun-Lopez
Status: newassigned

comment:2 Changed 4 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: assignedclosed

In 923068766f9d3f56473e545d882f9c70ca7c5684/macports-ports (master):

tcl: fix implicit declarations in configure

Rev bump due to different resulting configuration.

Closes: #61897

Note: See TracTickets for help on using tickets.