ports/175059: devel/llvm-devel: Outdated!
O. hartmann
ohartman at zedat.fu-berlin.de
Sun Jan 6 14:00:01 UTC 2013
>Number: 175059
>Category: ports
>Synopsis: devel/llvm-devel: Outdated!
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Jan 06 14:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: O. hartmann
>Release: FreeBSD 10.0-CURRENT/amd64
>Organization:
FU Berlin
>Environment:
>Description:
Compiling software that relies on LLVM 3.2 reports errors, for instance
[...]
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include -I../../fix-include -I../../include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O2 -fvisibility-inlines-hidden -fno-exceptions -fPIC -Woverloaded-virtual -Wcast-qual -O2 -pipe -O3 -march=native -fno-strict-aliasing -stdlib=libc++ -MT ParallelRegion.lo -MD -MP -MF .deps/ParallelRegion.Tpo -c ParallelRegion.cc -fPIC -DPIC -o .libs/ParallelRegion.o
ParallelRegion.cc:588:80: error: no member named 'NoCapture' in 'llvm::Attributes'
Attrs.push_back(AttributeWithIndex::get(M->getContext(), 1U, Attributes::NoCapture));
~~~~~~~~~~~~^
ParallelRegion.cc:589:89: error: no member named 'NoUnwind' in 'llvm::Attributes'
Attrs.push_back(AttributeWithIndex::get(M->getContext(), 4294967295U, Attributes::NoUnwind));
~~~~~~~~~~~~^
ParallelRegion.cc:590:59: error: too many arguments to function call, expected single argument 'Attrs', have 2 arguments
func_printf_PAL = AttrListPtr::get(M->getContext(), Attrs);
~~~~~~~~~~~~~~~~ ^~~~~
/usr/local/include/llvm/Attributes.h:313:3: note: 'get' declared here
static AttrListPtr get(ArrayRef<AttributeWithIndex> Attrs);
^
3 errors generated.
[...]
Investigating the Attributes.h in the ports devel/llvm-devel and the most recent LLVM 3.2 official release, there are significant changes.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list