Opened 4 years ago

Last modified 3 years ago

#62013 assigned defect

gtime +universal: error: redefinition of '_OSSwapInt64'

Reported by: ShadSterling (Shad Sterling) Owned by: dgilman (David Gilman)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: bigsur Cc: ryandesign (Ryan Carsten Schmidt)
Port: gtime

Description

Looks like the universal build tries to include headers for multiple architectures at the same time

:info:build In file included from lib/unistd.c:3:
:info:build In file included from lib/unistd.h:88:
:info:build In file included from lib/stdlib.h:28:
:info:build In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/include/stdlib.h:66:
:info:build In file included from lib/sys/wait.h:28:
:info:build In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/include/sys/wait.h:110:
:info:build In file included from lib/sys/resource.h:29:
:info:build In file included from lib/sys/types.h:28:
:info:build In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/include/sys/types.h:81:
:info:build In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/include/machine/endian.h:35:
:info:build In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/include/i386/endian.h:99:
:info:build In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/include/sys/_endian.h:130:
:info:build In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/include/libkern/_OSByteOrder.h:80:
:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/include/libkern/arm/OSByteOrder.h:41:1: error: redefinition of '_OSSwapInt64'
:info:build _OSSwapInt64(
:info:build ^
:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/include/libkern/i386/_OSByteOrder.h:70:1: note: previous definition is here
:info:build _OSSwapInt64(
:info:build ^

Attachments (1)

main.log (164.8 KB) - added by ShadSterling (Shad Sterling) 4 years ago.

Download all attachments as: .zip

Change History (6)

Changed 4 years ago by ShadSterling (Shad Sterling)

Attachment: main.log added

comment:1 Changed 4 years ago by mf2k (Frank Schima)

Cc: dgilman removed
Owner: set to dgilman
Status: newassigned

comment:2 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Same issue reported in gmake in #62822.

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

Same issue reported in libunistring in #61858.

comment:4 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign added

comment:5 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Same issue reported in grep in #64135.

Note: See TracTickets for help on using tickets.