Bug 255570 - [exp-run] Against llvm-12-update branch on GitHub
Summary: [exp-run] Against llvm-12-update branch on GitHub
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Port Management Team
URL:
Keywords:
Depends on: 255796
Blocks:
  Show dependency treegraph
 
Reported: 2021-05-03 15:18 UTC by Dimitry Andric
Modified: 2021-05-11 17:30 UTC (History)
4 users (show)

See Also:


Attachments
full summary of changes, latest amd64 to exp-run (7.24 KB, text/plain)
2021-05-11 12:32 UTC, Mark Linimon
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dimitry Andric freebsd_committer 2021-05-03 15:18:40 UTC
I am importing llvm, clang, compiler-rt, libc++, libunwind, lld, lldb, and openmp 12.0.0 into <https://github.com/DimitryAndric/freebsd-src/tree/llvm-12-update>, which is a fork of <https://github.com/freebsd/freebsd-src>.

Please perform an exp-run against this branch. To retrieve it, use:

git clone -b llvm-12-update https://github.com/DimitryAndric/freebsd-src.git

As of 2021-05-03, this branch contains the equivalent of llvm-project's 12.0.0 release, and it has been rebased onto main-n246436-8f1562430fbb.
Comment 1 Dimitry Andric freebsd_committer 2021-05-05 19:39:36 UTC
Note: as of 2021-05-05, the https://github.com/DimitryAndric/freebsd-src/tree/llvm-12-update branch has been rebased onto main-n246487-a512d0ab009e.
Comment 2 Antoine Brodin freebsd_committer 2021-05-08 19:44:07 UTC
New failure logs on i386:

http://package23.nyi.freebsd.org/data/maini386PR255570-default/2021-05-07_12h04m50s/logs/errors/brlcad-7.30.2.log
http://package23.nyi.freebsd.org/data/maini386PR255570-default/2021-05-07_12h04m50s/logs/errors/tarantool-2.8.1.log
http://package23.nyi.freebsd.org/data/maini386PR255570-default/2021-05-07_12h04m50s/logs/errors/electron11-11.4.4.log
http://package23.nyi.freebsd.org/data/maini386PR255570-default/2021-05-07_12h04m50s/logs/errors/i386-gcc6-6.5.0_3.log
http://package23.nyi.freebsd.org/data/maini386PR255570-default/2021-05-07_12h04m50s/logs/errors/i386-gcc-6.4.0_9.log
http://package23.nyi.freebsd.org/data/maini386PR255570-default/2021-05-07_12h04m50s/logs/errors/rubygem-thrift-0.14.0,1.log
http://package23.nyi.freebsd.org/data/maini386PR255570-default/2021-05-07_12h04m50s/logs/errors/bundy-0.20170618_12.log
http://package23.nyi.freebsd.org/data/maini386PR255570-default/2021-05-07_12h04m50s/logs/errors/eduke32-20210404.log
http://package23.nyi.freebsd.org/data/maini386PR255570-default/2021-05-07_12h04m50s/logs/errors/jpeg-xl-0.3.7_1.log
http://package23.nyi.freebsd.org/data/maini386PR255570-default/2021-05-07_12h04m50s/logs/errors/xaos-4.2.1.log
http://package23.nyi.freebsd.org/data/maini386PR255570-default/2021-05-07_12h04m50s/logs/errors/openjdk11-11.0.10+9.1_1.log
http://package23.nyi.freebsd.org/data/maini386PR255570-default/2021-05-07_12h04m50s/logs/errors/openjdk11-jre-11.0.10+9.1_1.log
http://package23.nyi.freebsd.org/data/maini386PR255570-default/2021-05-07_12h04m50s/logs/errors/openjdk12-12.0.2+10.4_3.log
http://package23.nyi.freebsd.org/data/maini386PR255570-default/2021-05-07_12h04m50s/logs/errors/gcc10-10.3.0.log
http://package23.nyi.freebsd.org/data/maini386PR255570-default/2021-05-07_12h04m50s/logs/errors/gcc10-devel-10.3.1.s20210424.log
http://package23.nyi.freebsd.org/data/maini386PR255570-default/2021-05-07_12h04m50s/logs/errors/gcc8-8.4.0_1.log
http://package23.nyi.freebsd.org/data/maini386PR255570-default/2021-05-07_12h04m50s/logs/errors/gcc8-devel-8.4.1.s20210428.log
http://package23.nyi.freebsd.org/data/maini386PR255570-default/2021-05-07_12h04m50s/logs/errors/gcc9-9.3.0_3.log
http://package23.nyi.freebsd.org/data/maini386PR255570-default/2021-05-07_12h04m50s/logs/errors/gcc9-devel-9.3.1.s20210423.log
http://package23.nyi.freebsd.org/data/maini386PR255570-default/2021-05-07_12h04m50s/logs/errors/thunderbird-78.10.0_1.log
http://package23.nyi.freebsd.org/data/maini386PR255570-default/2021-05-07_12h04m50s/logs/errors/acidrip-0.14_11.log
http://package23.nyi.freebsd.org/data/maini386PR255570-default/2021-05-07_12h04m50s/logs/errors/smpeg-0.4.4_15.log
http://package23.nyi.freebsd.org/data/maini386PR255570-default/2021-05-07_12h04m50s/logs/errors/licq-base-1.9.0_3.log
http://package23.nyi.freebsd.org/data/maini386PR255570-default/2021-05-07_12h04m50s/logs/errors/opentracker-0.2017.08.13_2.log
http://package23.nyi.freebsd.org/data/maini386PR255570-default/2021-05-07_12h04m50s/logs/errors/shelxle-1.0.1246.log
http://package23.nyi.freebsd.org/data/maini386PR255570-default/2021-05-07_12h04m50s/logs/errors/aws-c-cal-0.4.5.log
http://package23.nyi.freebsd.org/data/maini386PR255570-default/2021-05-07_12h04m50s/logs/errors/fluent-bit-1.7.4.log
http://package23.nyi.freebsd.org/data/maini386PR255570-default/2021-05-07_12h04m50s/logs/errors/goldendict-1.5.0.g20210115.log
http://package23.nyi.freebsd.org/data/maini386PR255570-default/2021-05-07_12h04m50s/logs/errors/firefox-esr-78.10.1,1.log
http://package23.nyi.freebsd.org/data/maini386PR255570-default/2021-05-07_12h04m50s/logs/errors/gatling-0.15_2.log
http://package23.nyi.freebsd.org/data/maini386PR255570-default/2021-05-07_12h04m50s/logs/errors/unit-perl5.32-1.23.0.log
http://package23.nyi.freebsd.org/data/maini386PR255570-default/2021-05-07_12h04m50s/logs/errors/unit-ruby2.7-1.23.0.log

More than 2000 ports were skipped due to those new failures (the most importants are lang/gcc10 and multimedia/smpeg)
Comment 3 Ed Maste freebsd_committer 2021-05-08 20:22:52 UTC
smpeg error:

huffmantable.cpp:553:8: error: constant expression evaluates to -1 which cannot be narrowed to type 'unsigned int' [-Wc++11-narrowing]
  { 0, 0-1, 0-1, 0,  0, htd33},
       ^~~
Comment 4 Antoine Brodin freebsd_committer 2021-05-10 08:03:15 UTC
New failure logs on amd64:



http://package22.nyi.freebsd.org/data/mainamd64PR255570-default/2021-05-08_16h02m24s/logs/hipercontracer-1.5.0.log
http://package22.nyi.freebsd.org/data/mainamd64PR255570-default/2021-05-08_16h02m24s/logs/abyss-2.3.1.log
http://package22.nyi.freebsd.org/data/mainamd64PR255570-default/2021-05-08_16h02m24s/logs/brlcad-7.30.2.log
http://package22.nyi.freebsd.org/data/mainamd64PR255570-default/2021-05-08_16h02m24s/logs/wkhtmltopdf-0.12.6.log
http://package22.nyi.freebsd.org/data/mainamd64PR255570-default/2021-05-08_16h02m24s/logs/tarantool-2.8.1.log
http://package22.nyi.freebsd.org/data/mainamd64PR255570-default/2021-05-08_16h02m24s/logs/amd64-gcc-6.4.0_9.log
http://package22.nyi.freebsd.org/data/mainamd64PR255570-default/2021-05-08_16h02m24s/logs/electron11-11.4.4.log
http://package22.nyi.freebsd.org/data/mainamd64PR255570-default/2021-05-08_16h02m24s/logs/amd64-gcc6-6.5.0_3.log
http://package22.nyi.freebsd.org/data/mainamd64PR255570-default/2021-05-08_16h02m24s/logs/mdb-20210125.log
http://package22.nyi.freebsd.org/data/mainamd64PR255570-default/2021-05-08_16h02m24s/logs/py38-prettyprinter-0.18.0.log
http://package22.nyi.freebsd.org/data/mainamd64PR255570-default/2021-05-08_16h02m24s/logs/py38-pyside2-5.15.2.log
http://package22.nyi.freebsd.org/data/mainamd64PR255570-default/2021-05-08_16h02m24s/logs/rubygem-thrift-0.14.0,1.log
http://package22.nyi.freebsd.org/data/mainamd64PR255570-default/2021-05-08_16h02m24s/logs/bundy-0.20170618_12.log
http://package22.nyi.freebsd.org/data/mainamd64PR255570-default/2021-05-08_16h02m24s/logs/jpeg-xl-0.3.7_1.log
http://package22.nyi.freebsd.org/data/mainamd64PR255570-default/2021-05-08_16h02m24s/logs/xaos-4.2.1.log
http://package22.nyi.freebsd.org/data/mainamd64PR255570-default/2021-05-08_16h02m24s/logs/openjdk11-11.0.10+9.1_1.log
http://package22.nyi.freebsd.org/data/mainamd64PR255570-default/2021-05-08_16h02m24s/logs/openjdk11-jre-11.0.10+9.1_1.log
http://package22.nyi.freebsd.org/data/mainamd64PR255570-default/2021-05-08_16h02m24s/logs/openjdk12-12.0.2+10.4_3.log
http://package22.nyi.freebsd.org/data/mainamd64PR255570-default/2021-05-08_16h02m24s/logs/gcc10-10.3.0.log
http://package22.nyi.freebsd.org/data/mainamd64PR255570-default/2021-05-08_16h02m24s/logs/gcc10-devel-10.3.1.s20210424.log
http://package22.nyi.freebsd.org/data/mainamd64PR255570-default/2021-05-08_16h02m24s/logs/gcc7-7.5.0_3.log
http://package22.nyi.freebsd.org/data/mainamd64PR255570-default/2021-05-08_16h02m24s/logs/gcc8-8.4.0_1.log
http://package22.nyi.freebsd.org/data/mainamd64PR255570-default/2021-05-08_16h02m24s/logs/gcc8-devel-8.4.1.s20210428.log
http://package22.nyi.freebsd.org/data/mainamd64PR255570-default/2021-05-08_16h02m24s/logs/gcc9-9.3.0_3.log
http://package22.nyi.freebsd.org/data/mainamd64PR255570-default/2021-05-08_16h02m24s/logs/gcc9-devel-9.3.1.s20210423.log
http://package22.nyi.freebsd.org/data/mainamd64PR255570-default/2021-05-08_16h02m24s/logs/thunderbird-78.10.0_1.log
http://package22.nyi.freebsd.org/data/mainamd64PR255570-default/2021-05-08_16h02m24s/logs/smpeg-0.4.4_15.log
http://package22.nyi.freebsd.org/data/mainamd64PR255570-default/2021-05-08_16h02m24s/logs/licq-base-1.9.0_3.log
http://package22.nyi.freebsd.org/data/mainamd64PR255570-default/2021-05-08_16h02m24s/logs/opentracker-0.2017.08.13_2.log
http://package22.nyi.freebsd.org/data/mainamd64PR255570-default/2021-05-08_16h02m24s/logs/pacemaker1-1.1.24.log
http://package22.nyi.freebsd.org/data/mainamd64PR255570-default/2021-05-08_16h02m24s/logs/shelxle-1.0.1246.log
http://package22.nyi.freebsd.org/data/mainamd64PR255570-default/2021-05-08_16h02m24s/logs/aws-c-cal-0.4.5.log
http://package22.nyi.freebsd.org/data/mainamd64PR255570-default/2021-05-08_16h02m24s/logs/expiretable-0.6_1.log
http://package22.nyi.freebsd.org/data/mainamd64PR255570-default/2021-05-08_16h02m24s/logs/fluent-bit-1.7.4.log
http://package22.nyi.freebsd.org/data/mainamd64PR255570-default/2021-05-08_16h02m24s/logs/goldendict-1.5.0.g20210115.log
http://package22.nyi.freebsd.org/data/mainamd64PR255570-default/2021-05-08_16h02m24s/logs/firefox-esr-78.10.1,1.log
http://package22.nyi.freebsd.org/data/mainamd64PR255570-default/2021-05-08_16h02m24s/logs/gatling-0.15_2.log
http://package22.nyi.freebsd.org/data/mainamd64PR255570-default/2021-05-08_16h02m24s/logs/py38-uvicorn-0.13.4_1.log
http://package22.nyi.freebsd.org/data/mainamd64PR255570-default/2021-05-08_16h02m24s/logs/unit-perl5.32-1.23.0.log
http://package22.nyi.freebsd.org/data/mainamd64PR255570-default/2021-05-08_16h02m24s/logs/unit-ruby2.7-1.23.0.log
http://package22.nyi.freebsd.org/data/mainamd64PR255570-default/2021-05-08_16h02m24s/logs/websocat-1.8.0.log

Around 1800 ports were skipped due to those new failures
Comment 5 Dimitry Andric freebsd_committer 2021-05-10 21:16:16 UTC
Posted a workaround for the gcc issues in bug 255760, but this would also have to be applied to the other gcc ports that have the problem.

In the mean time I will take a look at possibly reverting the upstream commit that changed the __builtin_constant_p() behavior that gcc's bootstrap seems to depend on.
Comment 6 Mark Linimon freebsd_committer freebsd_triage 2021-05-11 12:32:34 UTC
Created attachment 224842 [details]
full summary of changes, latest amd64 to exp-run
Comment 7 Mark Linimon freebsd_committer freebsd_triage 2021-05-11 12:35:00 UTC
I've attached a full analysis of changes between the latest amd64-14 run and this exp-run.  The ports trees are slightly different, leading to minor headaches.  However, here is the summary:

highest priority

# ld: error: undefined symbol: ix86_isa_flags (1493 skipped) [also other gccs]
> gcc10-10.3.0.log: linker_error
# A fatal error has been detected by the Java Runtime Environment (39 skipped) [also other jdks]
> openjdk11-11.0.10+9.1_1.log: process_failed
# error: constant expression evaluates to -1 which cannot be narrowed to type 'unsigned int' (338 skipped)
> smpeg-0.4.4_15.log: bad_C++_code

lower priority

# UNREACHABLE executed
> abyss-2.3.1.log: clang-bug
# gencondmd.c:(.text+0x3c32): undefined reference to `target_flags' [also amd64-gcc-*]
> amd64-gcc-6.4.0_9.log: linker_error
# cc: error: The 'x86_64' architecture does not support -moutline-atomics; flag ignored (5 skipped)
> aws-c-cal-0.4.5.log: ninja
# No such file or directory: 'objdump' [thunderbird is same]
> firefox-esr-78.10.1,1.log: ???
# Exception: SegFault  0.03 sec
> licq-base-1.9.0_3.log: ???
# error: unknown -Werror warning specifier: '-Wno-error-tautological-pointer-compare'
> mdb-20210125.log: ???
# error: '(' and '{' tokens introducing statement expression appear in different macro expansion contexts
> rubygem-thrift-0.14.0,1.log: clang_werror
Comment 8 Dimitry Andric freebsd_committer 2021-05-11 15:26:37 UTC
I submitted a fairly trivial for multimedia/smpeg in bug 255796.
Comment 9 Dimitry Andric freebsd_committer 2021-05-11 17:30:38 UTC
As of 2021-05-11T17:21:45Z the the https://github.com/DimitryAndric/freebsd-src/tree/llvm-12-update branch has been rebased onto main-n246588-802637be0645.

I also reverted upstream commit https://github.com/llvm/llvm-project/commit/08c8d5bc51c512e605840b8003fcf38c86d0fc96, which is a workaround for the issues with the various gcc ports, in:

https://github.com/DimitryAndric/freebsd-src/commit/43533316602f9e1e1bb97ac6deb543bafec01a49