#65341 closed defect (fixed)

llvm-14 fails to build on i386 (after 7 hours)

Reported by: jmroot (Joshua Root) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: mascguy (Christopher Nielsen)
Port: llvm-14

Description

https://build.macports.org/builders/ports-10.6_i386-builder/builds/77821

/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_llvm-14/llvm-14/work/llvm-project-14.0.5.src/llvm/tools/llvm-objcopy/MachO/MachOWriter.cpp:569:21: error: no matching function for call to 'min'
                    std::min(HashReadEnd - CurrHashReadPosition,
                    ^~~~~~~~
/opt/local/libexec/llvm-11/bin/../include/c++/v1/algorithm:2560:1: note: candidate template ignored: deduced conflicting types for parameter '_Tp' ('int' vs. 'long')
min(const _Tp& __a, const _Tp& __b)
^
/opt/local/libexec/llvm-11/bin/../include/c++/v1/algorithm:2571:1: note: candidate template ignored: could not match 'initializer_list<type-parameter-0-0>' against 'int'
min(initializer_list<_Tp> __t, _Compare __comp)
^
/opt/local/libexec/llvm-11/bin/../include/c++/v1/algorithm:2580:1: note: candidate function template not viable: requires single argument '__t', but 2 arguments were provided
min(initializer_list<_Tp> __t)
^
/opt/local/libexec/llvm-11/bin/../include/c++/v1/algorithm:2551:1: note: candidate function template not viable: requires 3 arguments, but 2 were provided
min(const _Tp& __a, const _Tp& __b, _Compare __comp)
^

Attachments (1)

llvm-14-10.6-i386.log.bz2 (106.1 KB) - added by jmroot (Joshua Root) 23 months ago.

Download all attachments as: .zip

Change History (4)

Changed 23 months ago by jmroot (Joshua Root)

Attachment: llvm-14-10.6-i386.log.bz2 added

comment:1 Changed 23 months ago by mascguy (Christopher Nielsen)

Cc: mascguy added

comment:2 Changed 23 months ago by jmroot (Joshua Root)

comment:3 Changed 23 months ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.