[MacPorts] #47929: llvm-gcc42 @2336.11_2 fails building on 10.6.8

MacPorts noreply at macports.org
Sat Apr 9 20:06:06 UTC 2022


#47929: llvm-gcc42 @2336.11_2 fails building on 10.6.8
-------------------------+--------------------------------
  Reporter:  udbraumann  |      Owner:  macports-tickets@…
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.3.3
Resolution:              |   Keywords:
      Port:  llvm-gcc42  |
-------------------------+--------------------------------

Comment (by barracuda156):

 Weirdly, with `macports-gcc-10` it fails very early with:

 {{{
 In file included from /opt/local/var/macports/build
 /_opt_PPCSnowLeopardPorts_lang_llvm-gcc42/llvm-gcc42/work/objroot/obj-
 llvmCore/src/include/llvm/Support/Allocator.h:17,
                  from /opt/local/var/macports/build
 /_opt_PPCSnowLeopardPorts_lang_llvm-gcc42/llvm-gcc42/work/objroot/obj-
 llvmCore/src/include/llvm/ADT/StringMap.h:18,
                  from /opt/local/var/macports/build
 /_opt_PPCSnowLeopardPorts_lang_llvm-gcc42/llvm-gcc42/work/objroot/obj-
 llvmCore/src/include/llvm/System/Host.h:17,
                  from /opt/local/var/macports/build
 /_opt_PPCSnowLeopardPorts_lang_llvm-gcc42/llvm-gcc42/work/objroot/obj-
 llvmCore/src/lib/System/Host.cpp:14:
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_llvm-gcc42
 /llvm-gcc42/work/objroot/obj-
 llvmCore/src/include/llvm/Support/AlignOf.h:57:24: error: expected
 unqualified-id before 'alignof'
    57 | static inline unsigned alignof() { return AlignOf<T>::Alignment; }
       |                        ^~~~~~~
 In file included from /opt/local/var/macports/build
 /_opt_PPCSnowLeopardPorts_lang_llvm-gcc42/llvm-gcc42/work/objroot/obj-
 llvmCore/src/include/llvm/ADT/StringMap.h:18,
                  from /opt/local/var/macports/build
 /_opt_PPCSnowLeopardPorts_lang_llvm-gcc42/llvm-gcc42/work/objroot/obj-
 llvmCore/src/include/llvm/System/Host.h:17,
                  from /opt/local/var/macports/build
 /_opt_PPCSnowLeopardPorts_lang_llvm-gcc42/llvm-gcc42/work/objroot/obj-
 llvmCore/src/lib/System/Host.cpp:14:
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_llvm-gcc42
 /llvm-gcc42/work/objroot/obj-
 llvmCore/src/include/llvm/Support/Allocator.h: In member function 'void
 llvm::SpecificBumpPtrAllocator<T>::DestroyAll()':
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_llvm-gcc42
 /llvm-gcc42/work/objroot/obj-
 llvmCore/src/include/llvm/Support/Allocator.h:204:46: error: expected
 primary-expression before '<' token
   204 |         Ptr = Allocator.AlignPtr(Ptr, alignof<T>());
       |                                              ^
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_llvm-gcc42
 /llvm-gcc42/work/objroot/obj-
 llvmCore/src/include/llvm/Support/Allocator.h:204:48: error: expected
 primary-expression before '>' token
   204 |         Ptr = Allocator.AlignPtr(Ptr, alignof<T>());
       |                                                ^
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_llvm-gcc42
 /llvm-gcc42/work/objroot/obj-
 llvmCore/src/include/llvm/Support/Allocator.h:204:50: error: expected
 primary-expression before ')' token
   204 |         Ptr = Allocator.AlignPtr(Ptr, alignof<T>());
       |                                                  ^
 In file included from /opt/local/var/macports/build
 /_opt_PPCSnowLeopardPorts_lang_llvm-gcc42/llvm-gcc42/work/objroot/obj-
 llvmCore/src/include/llvm/System/Host.h:17,
                  from /opt/local/var/macports/build
 /_opt_PPCSnowLeopardPorts_lang_llvm-gcc42/llvm-gcc42/work/objroot/obj-
 llvmCore/src/lib/System/Host.cpp:14:
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_llvm-gcc42
 /llvm-gcc42/work/objroot/obj-llvmCore/src/include/llvm/ADT/StringMap.h: In
 static member function 'static llvm::StringMapEntry<ValueTy>*
 llvm::StringMapEntry<ValueTy>::Create(const char*, const char*,
 AllocatorTy&, InitType)':
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_llvm-gcc42
 /llvm-gcc42/work/objroot/obj-
 llvmCore/src/include/llvm/ADT/StringMap.h:170:33: error: expected primary-
 expression before '<' token
   170 |     unsigned Alignment = alignof<StringMapEntry>();
       |                                 ^
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_llvm-gcc42
 /llvm-gcc42/work/objroot/obj-
 llvmCore/src/include/llvm/ADT/StringMap.h:170:48: error: expected primary-
 expression before '>' token
   170 |     unsigned Alignment = alignof<StringMapEntry>();
       |                                                ^
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_llvm-gcc42
 /llvm-gcc42/work/objroot/obj-
 llvmCore/src/include/llvm/ADT/StringMap.h:170:50: error: expected primary-
 expression before ')' token
   170 |     unsigned Alignment = alignof<StringMapEntry>();
       |                                                  ^
 llvm[3]: Compiling IncludeFile.cpp for Release+Debug-Asserts build
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/47929#comment:22>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list