Opened 9 years ago

Closed 9 years ago

#49726 closed defect (duplicate)

gcc48-4.8.5._0 build fail: sanitizer_allocator.c Missing binary operator before token "("

Reported by: rubendibattista (Ruben Di Battista) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: elcapitan Cc: mww@…
Port: gcc48

Description

Hello,

I'm reinstalling all the ports after the SO update to OSX: 10.11.

The build of gcc48 port is failing on the sanitizer_allocator.c file with the message:

:info:build In file included from /usr/include/stdlib.h:61:0,
:info:build                  from /opt/local/var/macports/build/_opt_local_var_macports_sources_distfiles.macports.org_ports_lang_gcc48/gcc48/work/gcc-4.8.5/libsanitizer/sanitizer_common/sanitizer_allocator.cc:22:
:info:build /usr/include/Availability.h:221:22: error: missing binary operator before token "("
:info:build    #if __has_attribute(availability)
:info:build                       ^
:info:build /usr/include/Availability.h:243:22: error: missing binary operator before token "("
:info:build    #if __has_attribute(availability)
:info:build                       ^
:info:build make[4]: *** [sanitizer_allocator.lo] Error 1

Attaching also the log.

Attachments (1)

main.log.xz (6.1 KB) - added by rubendibattista (Ruben Di Battista) 9 years ago.
main.log

Download all attachments as: .zip

Change History (2)

Changed 9 years ago by rubendibattista (Ruben Di Battista)

Attachment: main.log.xz added

main.log

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

Keywords: elcapitan added
Resolution: duplicate
Status: newclosed

This is a known issue. See #48471. Use a newer version of gcc instead.

Note: See TracTickets for help on using tickets.