[MacPorts] #46106: HexFiend @2.3.0_1: error: unknown type name '__uint128_t'
#46106: HexFiend @2.3.0_1: error: unknown type name '__uint128_t' --------------------------+---------------------- Reporter: ryandesign@… | Owner: cal@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.99 Keywords: | Port: HexFiend --------------------------+---------------------- HexFiend @2.3.0_1 doesn't build for me on OS X 10.10.1 with Xcode 6.1. -- Ticket URL: <https://trac.macports.org/ticket/46106> MacPorts <https://www.macports.org/> Ports system for OS X
#46106: HexFiend @2.3.0_1: error: unknown type name '__uint128_t' ---------------------------+-------------------- Reporter: ryandesign@… | Owner: cal@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.99 Resolution: | Keywords: Port: HexFiend | ---------------------------+-------------------- Comment (by cal@…): My system clang on 10.10 supports `__uint128_t`, does yours not? Can you try {{{ /usr/bin/clang -x c -std=c99 -pedantic -Wall -Werror -o /dev/null - <<EOF #include <stdint.h> #include <stdio.h> int main() { __uint128_t d = 21 * 2; printf("%d\n", (int)(d)); } EOF }}} and the same with `xcrun clang` instead of `/usr/bin/clang`? -- Ticket URL: <https://trac.macports.org/ticket/46106#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#46106: HexFiend @2.3.0_1: error: unknown type name '__uint128_t' ---------------------------+-------------------- Reporter: ryandesign@… | Owner: cal@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.99 Resolution: | Keywords: Port: HexFiend | ---------------------------+-------------------- Comment (by cal@…): Also, HexFiend builds fine for me. -- Ticket URL: <https://trac.macports.org/ticket/46106#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#46106: HexFiend @2.3.0_1: error: unknown type name '__uint128_t' ---------------------------+-------------------- Reporter: ryandesign@… | Owner: cal@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.99 Resolution: | Keywords: Port: HexFiend | ---------------------------+-------------------- Comment (by cal@…): Any feedback on this? -- Ticket URL: <https://trac.macports.org/ticket/46106#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#46106: HexFiend @2.3.0_1: error: unknown type name '__uint128_t' ---------------------------+-------------------- Reporter: ryandesign@… | Owner: cal@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.99 Resolution: | Keywords: Port: HexFiend | ---------------------------+-------------------- Comment (by ryandesign@…): Replying to [comment:1 cal@…]:
My system clang on 10.10 supports `__uint128_t`, does yours not? Can you try {{{ /usr/bin/clang -x c -std=c99 -pedantic -Wall -Werror -o /dev/null - <<EOF #include <stdint.h> #include <stdio.h>
int main() { __uint128_t d = 21 * 2; printf("%d\n", (int)(d)); } EOF }}} and the same with `xcrun clang` instead of `/usr/bin/clang`?
Both of these produce no output. -- Ticket URL: <https://trac.macports.org/ticket/46106#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#46106: HexFiend @2.3.0_1: error: unknown type name '__uint128_t' ---------------------------+-------------------- Reporter: ryandesign@… | Owner: cal@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.99 Resolution: | Keywords: Port: HexFiend | ---------------------------+-------------------- Comment (by ryandesign@…): HexFiend @2.3.0_1 builds fine for x86_64 only, but not when built universal for x86_64 and i386. -- Ticket URL: <https://trac.macports.org/ticket/46106#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#46106: HexFiend @2.3.0_1: error: unknown type name '__uint128_t' ---------------------------+-------------------- Reporter: ryandesign@… | Owner: cal@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.99 Resolution: | Keywords: Port: HexFiend | ---------------------------+-------------------- Comment (by cal@…): Can you try the command again but add `-arch i386` and `-arch i386 -arch x86_64` for a universal build? -- Ticket URL: <https://trac.macports.org/ticket/46106#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#46106: HexFiend @2.3.0_1: error: unknown type name '__uint128_t' ---------------------------+-------------------- Reporter: ryandesign@… | Owner: cal@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.99 Resolution: | Keywords: Port: HexFiend | ---------------------------+-------------------- Comment (by ryandesign@…): Yup, there we go: {{{ $ /usr/bin/clang -x c -std=c99 -pedantic -Wall -Werror -o /dev/null -arch x86_64 test.c $ }}} {{{ $ /usr/bin/clang -x c -std=c99 -pedantic -Wall -Werror -o /dev/null -arch i386 test.c test.c:5:3: error: use of undeclared identifier '__uint128_t' __uint128_t d = 21 * 2; ^ test.c:6:24: error: use of undeclared identifier 'd' printf("%d\n", (int)(d)); ^ 2 errors generated. $ }}} {{{ $ /usr/bin/clang -x c -std=c99 -pedantic -Wall -Werror -o /dev/null -arch i386 -arch x86_64 test.c test.c:5:3: error: use of undeclared identifier '__uint128_t' __uint128_t d = 21 * 2; ^ test.c:6:24: error: use of undeclared identifier 'd' printf("%d\n", (int)(d)); ^ 2 errors generated. $ }}} -- Ticket URL: <https://trac.macports.org/ticket/46106#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#46106: HexFiend @2.3.0_1: error: unknown type name '__uint128_t' ---------------------------+-------------------- Reporter: ryandesign@… | Owner: cal@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.99 Resolution: | Keywords: Port: HexFiend | ---------------------------+-------------------- Comment (by cal@…): I guess that means we need to set supported_archs x86_64 and remove the universal variant. -- Ticket URL: <https://trac.macports.org/ticket/46106#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
#46106: HexFiend @2.3.0_1: error: unknown type name '__uint128_t' ---------------------------+-------------------- Reporter: ryandesign@… | Owner: cal@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.99 Resolution: | Keywords: Port: HexFiend | ---------------------------+-------------------- Comment (by ryandesign@…): Sure, that would be ok. -- Ticket URL: <https://trac.macports.org/ticket/46106#comment:9> MacPorts <https://www.macports.org/> Ports system for OS X
#46106: HexFiend @2.3.0_1: error: unknown type name '__uint128_t' ---------------------------+-------------------- Reporter: ryandesign@… | Owner: cal@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.99 Resolution: fixed | Keywords: Port: HexFiend | ---------------------------+-------------------- Changes (by cal@…): * status: new => closed * resolution: => fixed Comment: r135962. -- Ticket URL: <https://trac.macports.org/ticket/46106#comment:10> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts