Opened 14 months ago

Last modified 14 months ago

#67117 assigned defect

pear @0.9.8_0: error: invalid output constraint '=a' in asm

Reported by: murrayE Owned by: mashavecher
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: arm64 Cc:
Port: pear

Description

Under macOS Ventural 13.2.1 on Apple Silicon (M1), pear 0.9.8_0 fails to build. Fron the log (complete log attached):

:info:build /usr/bin/clang -DHAVE_CONFIG_H -I.   -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -O3 -fomit-frame-pointer -funroll-loops -Wall -Wredundant-decls  -Wreturn-type  -Wswitch-default -Wimplicit  -Wimplicit-function-declaration  -Wimplicit-int -Wimport -Wunused-label -Wno-int-to-pointer-cast -Wbad-function-cast  -Wmissing-declarations -Wmissing-prototypes  -Wnested-externs  -Wold-style-definition -Wstrict-prototypes -Wpointer-sign -Wextra -Wredundant-decls -Wunused -Wunused-function -Wunused-parameter -Wunused-value  -Wunused-variable -Wformat  -Wformat-nonliteral -Wparentheses -Wsequence-point -Wuninitialized -Wundef -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch arm64 -MT pear-reader.o -MD -MP -MF .deps/pear-reader.Tpo -c -o pear-reader.o `test -f 'reader.c' || echo './'`reader.c
:info:build reader.c:969:9: error: invalid output constraint '=a' in asm
:info:build       : "=a" (data[0]),
:info:build         ^
:info:build 1 error generated.
:info:build make[2]: *** [pear-reader.o] Error 1

Attachments (1)

main.log (22.3 KB) - added by murrayE 14 months ago.
main.log

Download all attachments as: .zip

Change History (2)

Changed 14 months ago by murrayE

Attachment: main.log added

main.log

comment:1 Changed 14 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: mashavecher removed
Keywords: arm64 added; build failure removed
Owner: set to mashavecher
Status: newassigned
Summary: pear 0.9.8_0 fails to buildpear @0.9.8_0: error: invalid output constraint '=a' in asm

Perhaps updating to a newer version would help. Looks like 0.9.11 is available.

Note: See TracTickets for help on using tickets.