Opened 3 years ago

Closed 3 years ago

#63903 closed defect (fixed)

libtasn1 @4.18.0: Build failure with GCC 4.2

Reported by: evanmiller (Evan Miller) Owned by: Schamschula (Marius Schamschula)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc:
Port: libtasn1

Description

:info:build libtool: compile:  /opt/local/bin/gcc-apple-4.2 -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -pipe -Os -std=c99 -arch ppc -MT explicit_bzero.lo -MD -MP -MF .deps/explicit_bzero.Tpo -c explicit_bzero.c  -fno-common -DPIC -o .libs/explicit_bzero.o
:info:build explicit_bzero.c: In function 'explicit_bzero':
:info:build explicit_bzero.c:60: error: 'asm' undeclared (first use in this function)
:info:build explicit_bzero.c:60: error: (Each undeclared identifier is reported only once
:info:build explicit_bzero.c:60: error: for each function it appears in.)
:info:build explicit_bzero.c:60: error: expected ';' before 'volatile'
:info:build make[5]: *** [explicit_bzero.lo] Error 1

Full log to follow. -std=gnu99 seems to fix it.

Attachments (1)

libtasn1-main.log (240.9 KB) - added by evanmiller (Evan Miller) 3 years ago.

Download all attachments as: .zip

Change History (2)

Changed 3 years ago by evanmiller (Evan Miller)

Attachment: libtasn1-main.log added

comment:1 Changed 3 years ago by evanmiller (Evan Miller)

Resolution: fixed
Status: assignedclosed

In 827704288dea699c4c72c940a7a600dcc51a688b/macports-ports (master):

libtasn1: use gnu99 instead of c99

Closes: #63903

Note: See TracTickets for help on using tickets.