Opened 12 years ago

Last modified 11 years ago

#37138 closed defect

libstdcxx-devel build failure — at Version 3

Reported by: rouson (Damian Rouson) Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: jrblevin@…, jeremyhu@…
Port: libstdcxx-devel

Description (last modified by ryandesign (Ryan Carsten Schmidt))

When attempting to build gcc48, I receive the following message:

Error: org.macports.build for port libstdcxx-devel returned: command execution failed

The log file is attached.

Damian

Change History (4)

comment:1 Changed 12 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to mww@…
Port: libstdcxx-devel added
Priority: HighNormal
Summary: Error: org.macports.build for port libstdcxx-devel returned: command execution failedlibstdcxx-devel build failure

Please remember to fill in the Port field and Cc the maintainer. As per the ticket guidelines, the High priority is reserved for the use of MacPorts team members. There is no log attached.

comment:2 Changed 12 years ago by jrblevin@…

Cc: jrblevin@… added

Cc Me!

Changed 12 years ago by rouson (Damian Rouson)

Attachment: main.log added

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

Cc: jeremyhu@… added
Description: modified (diff)

The first error I see in the log is:

:info:build ../../gcc-4.8-20121118/gcc/tree-data-ref.c:1599:19: error: second argument to 'va_arg' is of non-POD type 'affine_fn' (aka 'vec<tree>') [-Wnon-pod-varargs]
:info:build     ret->fns[i] = va_arg (ap, affine_fn);
:info:build                   ^~~~~~~~~~~~~~~~~~~~~~
:info:build /usr/bin/../lib/clang/3.0/include/stdarg.h:35:50: note: instantiated from:
:info:build #define va_arg(ap, type)    __builtin_va_arg(ap, type)
:info:build                                                  ^
:info:build ../../gcc-4.8-20121118/gcc/tree-data-ref.c:1599:31: note: instantiated from:
:info:build     ret->fns[i] = va_arg (ap, affine_fn);
:info:build                               ^~~~~~~~~

I also see you're on Lion, and the above shows the use of files related to clang 3.0. The version of clang in the latest version of the Xcode command line tools is 4.1, so try updating Xcode to 4.5.2, then upgrading the Xcode command line tools (open Xcode.app -> Preferences -> Downloads).

Note: See TracTickets for help on using tickets.