Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Jan 2013 13:52:11 GMT
From:      "O. hartmann" <ohartman@zedat.fu-berlin.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/175059: devel/llvm-devel: Outdated!
Message-ID:  <201301061352.r06DqBG0097799@red.freebsd.org>
Resent-Message-ID: <201301061400.r06E01hU027009@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301061352.r06DqBG0097799>