Almost all tests fail after 08bf28819b

PUBLIC Hi, Even though I've rebuilt everything from scratch, I'm unable to run most tests on `master` from (including) 08bf28819b78e740550a73a90eda62cce8d21c90. The error message is the same for all tests: ghc: /home/mi/prog/ghc/_build/stage1/lib/x86_64-linux-ghc-9.5.20221122/base-4.17.0.0/HSbase-4.17.0.0.o: unknown symbol `newArena' ghc: Could not load Object Code /home/mi/prog/ghc/_build/stage1/lib/x86_64-linux-ghc-9.5.20221122/base-4.17.0.0/HSbase-4.17.0.0.o. ghc: unable to load unit `base-4.17.0.0' Am I doing something wrong locally, or did something that breaks tests sneak through during the Gitlab outage yesterday? Thanks, Gergo This email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please delete all copies and notify the sender immediately. You may wish to refer to the incorporation details of Standard Chartered PLC, Standard Chartered Bank and their subsidiaries at https: //www.sc.com/en/our-locations Where you have a Financial Markets relationship with Standard Chartered PLC, Standard Chartered Bank and their subsidiaries (the "Group"), information on the regulatory standards we adhere to and how it may affect you can be found in our Regulatory Compliance Statement at https: //www.sc.com/rcs/ and Regulatory Compliance Disclosures at http: //www.sc.com/rcs/fm Insofar as this communication is not sent by the Global Research team and contains any market commentary, the market commentary has been prepared by the sales and/or trading desk of Standard Chartered Bank or its affiliate. It is not and does not constitute research material, independent research, recommendation or financial advice. Any market commentary is for information purpose only and shall not be relied on for any other purpose and is subject to the relevant disclaimers available at https: //www.sc.com/en/regulatory-disclosures/#market-disclaimer. Insofar as this communication is sent by the Global Research team and contains any research materials prepared by members of the team, the research material is for information purpose only and shall not be relied on for any other purpose, and is subject to the relevant disclaimers available at https: //research.sc.com/research/api/application/static/terms-and-conditions. Insofar as this e-mail contains the term sheet for a proposed transaction, by responding affirmatively to this e-mail, you agree that you have understood the terms and conditions in the attached term sheet and evaluated the merits and risks of the transaction. We may at times also request you to sign the term sheet to acknowledge the same. Please visit https: //www.sc.com/en/regulatory-disclosures/dodd-frank/ for important information with respect to derivative products.

I had the same problem. Deleting the _build directory and rebuilding solved it for me. I'm also on amd64 Linux, by the by.

PUBLIC
Nope, still getting the same error after deleting all of _build. I'm also on AMD64 Linux. I've tried with GHC 9.2.5 and 9.4.3. For reference, my exact command line (after deleting _build) is:
./boot && ./configure && ./hadrian/build-stack --flavour=devel2 -j10 test --only="ann01"
-----Original Message-----
From: Matthew Farkas-Dyck

With devel2 only the static libs are built. Hence the RTS linker is used. https://gitlab.haskell.org/ghc/ghc/-/commit/08bf28819b78e740550a73a90eda62cc... made some symbols public (newArena, arenaAlloc, arenaFree) but they weren't added to rts/RtsSymbols.c so the RTS linker isn't aware of them. We should have a CI job testing the static configuration. Wait, there is one, and tests have been failing with this error too: https://gitlab.haskell.org/ghc/ghc/-/jobs/1242286#L2859 Too bad it was a job allowed to fail :) On 24/11/2022 05:46, Erdi, Gergo via ghc-devs wrote:
PUBLIC
Nope, still getting the same error after deleting all of _build. I'm also on AMD64 Linux. I've tried with GHC 9.2.5 and 9.4.3. For reference, my exact command line (after deleting _build) is:
./boot && ./configure && ./hadrian/build-stack --flavour=devel2 -j10 test --only="ann01"
-----Original Message----- From: Matthew Farkas-Dyck
Sent: Wednesday, November 23, 2022 2:29 PM To: Erdi, Gergo Cc:ghc-devs@haskell.org Subject: Re: Almost all tests fail after 08bf28819b I had the same problem. Deleting the _build directory and rebuilding solved it for me.
I'm also on amd64 Linux, by the by.
This email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please delete all copies and notify the sender immediately. You may wish to refer to the incorporation details of Standard Chartered PLC, Standard Chartered Bank and their subsidiaries at https: //www.sc.com/en/our-locations
Where you have a Financial Markets relationship with Standard Chartered PLC, Standard Chartered Bank and their subsidiaries (the "Group"), information on the regulatory standards we adhere to and how it may affect you can be found in our Regulatory Compliance Statement at https: //www.sc.com/rcs/ and Regulatory Compliance Disclosures at http: //www.sc.com/rcs/fm
Insofar as this communication is not sent by the Global Research team and contains any market commentary, the market commentary has been prepared by the sales and/or trading desk of Standard Chartered Bank or its affiliate. It is not and does not constitute research material, independent research, recommendation or financial advice. Any market commentary is for information purpose only and shall not be relied on for any other purpose and is subject to the relevant disclaimers available at https: //www.sc.com/en/regulatory-disclosures/#market-disclaimer.
Insofar as this communication is sent by the Global Research team and contains any research materials prepared by members of the team, the research material is for information purpose only and shall not be relied on for any other purpose, and is subject to the relevant disclaimers available at https: //research.sc.com/research/api/application/static/terms-and-conditions.
Insofar as this e-mail contains the term sheet for a proposed transaction, by responding affirmatively to this e-mail, you agree that you have understood the terms and conditions in the attached term sheet and evaluated the merits and risks of the transaction. We may at times also request you to sign the term sheet to acknowledge the same.
Please visit https: //www.sc.com/en/regulatory-disclosures/dodd-frank/ for important information with respect to derivative products. _______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Sorry, my oversight. I'll open an MR to fix the static configuration :/
On Thu, Nov 24, 2022 at 10:36 AM Sylvain Henry
With devel2 only the static libs are built. Hence the RTS linker is used.
https://gitlab.haskell.org/ghc/ghc/-/commit/08bf28819b78e740550a73a90eda62cc... made some symbols public (newArena, arenaAlloc, arenaFree) but they weren't added to rts/RtsSymbols.c so the RTS linker isn't aware of them.
We should have a CI job testing the static configuration. Wait, there is one, and tests have been failing with this error too: https://gitlab.haskell.org/ghc/ghc/-/jobs/1242286#L2859 Too bad it was a job allowed to fail :)
On 24/11/2022 05:46, Erdi, Gergo via ghc-devs wrote:
PUBLIC
Nope, still getting the same error after deleting all of _build. I'm also on AMD64 Linux. I've tried with GHC 9.2.5 and 9.4.3. For reference, my exact command line (after deleting _build) is:
./boot && ./configure && ./hadrian/build-stack --flavour=devel2 -j10 test --only="ann01"
-----Original Message----- From: Matthew Farkas-Dyck
Sent: Wednesday, November 23, 2022 2:29 PM To: Erdi, Gergo Cc: ghc-devs@haskell.org Subject: Re: Almost all tests fail after 08bf28819b I had the same problem. Deleting the _build directory and rebuilding solved it for me.
I'm also on amd64 Linux, by the by.
This email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please delete all copies and notify the sender immediately. You may wish to refer to the incorporation details of Standard Chartered PLC, Standard Chartered Bank and their subsidiaries at https: //www.sc.com/en/our-locations
Where you have a Financial Markets relationship with Standard Chartered PLC, Standard Chartered Bank and their subsidiaries (the "Group"), information on the regulatory standards we adhere to and how it may affect you can be found in our Regulatory Compliance Statement at https: //www.sc.com/rcs/ and Regulatory Compliance Disclosures at http: //www.sc.com/rcs/fm
Insofar as this communication is not sent by the Global Research team and contains any market commentary, the market commentary has been prepared by the sales and/or trading desk of Standard Chartered Bank or its affiliate. It is not and does not constitute research material, independent research, recommendation or financial advice. Any market commentary is for information purpose only and shall not be relied on for any other purpose and is subject to the relevant disclaimers available at https: //www.sc.com/en/regulatory-disclosures/#market-disclaimer.
Insofar as this communication is sent by the Global Research team and contains any research materials prepared by members of the team, the research material is for information purpose only and shall not be relied on for any other purpose, and is subject to the relevant disclaimers available at https: //research.sc.com/research/api/application/static/terms-and-conditions.
Insofar as this e-mail contains the term sheet for a proposed transaction, by responding affirmatively to this e-mail, you agree that you have understood the terms and conditions in the attached term sheet and evaluated the merits and risks of the transaction. We may at times also request you to sign the term sheet to acknowledge the same.
Please visit https: //www.sc.com/en/regulatory-disclosures/dodd-frank/ for important information with respect to derivative products. _______________________________________________ ghc-devs mailing listghc-devs@haskell.orghttp://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Ah, it seems i was in error earlier... i can reproduce this now. ☹
+1 for CI job testing static build
------- Original Message -------
On Wednesday, November 23rd, 2022 at 20:46, Erdi, Gergo
PUBLIC
Nope, still getting the same error after deleting all of _build. I'm also on AMD64 Linux. I've tried with GHC 9.2.5 and 9.4.3. For reference, my exact command line (after deleting _build) is:
./boot && ./configure && ./hadrian/build-stack --flavour=devel2 -j10 test --only="ann01"
-----Original Message----- From: Matthew Farkas-Dyck strake888@proton.me
Sent: Wednesday, November 23, 2022 2:29 PM To: Erdi, Gergo Gergo.Erdi@sc.com
Cc: ghc-devs@haskell.org Subject: Re: Almost all tests fail after 08bf28819b
I had the same problem. Deleting the _build directory and rebuilding solved it for me.
I'm also on amd64 Linux, by the by.
This email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please delete all copies and notify the sender immediately. You may wish to refer to the incorporation details of Standard Chartered PLC, Standard Chartered Bank and their subsidiaries at https: //www.sc.com/en/our-locations
Where you have a Financial Markets relationship with Standard Chartered PLC, Standard Chartered Bank and their subsidiaries (the "Group"), information on the regulatory standards we adhere to and how it may affect you can be found in our Regulatory Compliance Statement at https: //www.sc.com/rcs/ and Regulatory Compliance Disclosures at http: //www.sc.com/rcs/fm
Insofar as this communication is not sent by the Global Research team and contains any market commentary, the market commentary has been prepared by the sales and/or trading desk of Standard Chartered Bank or its affiliate. It is not and does not constitute research material, independent research, recommendation or financial advice. Any market commentary is for information purpose only and shall not be relied on for any other purpose and is subject to the relevant disclaimers available at https: //www.sc.com/en/regulatory-disclosures/#market-disclaimer.
Insofar as this communication is sent by the Global Research team and contains any research materials prepared by members of the team, the research material is for information purpose only and shall not be relied on for any other purpose, and is subject to the relevant disclaimers available at https: //research.sc.com/research/api/application/static/terms-and-conditions.
Insofar as this e-mail contains the term sheet for a proposed transaction, by responding affirmatively to this e-mail, you agree that you have understood the terms and conditions in the attached term sheet and evaluated the merits and risks of the transaction. We may at times also request you to sign the term sheet to acknowledge the same.
Please visit https: //www.sc.com/en/regulatory-disclosures/dodd-frank/ for important information with respect to derivative products.

The fix just landed on d198a19ae08fec797121e3907ca93c5840db0c53 on master. On Thu, Nov 24, 2022 at 8:11 PM Matthew Farkas-Dyck via ghc-devs < ghc-devs@haskell.org> wrote:
Ah, it seems i was in error earlier... i can reproduce this now. ☹
+1 for CI job testing static build
------- Original Message ------- On Wednesday, November 23rd, 2022 at 20:46, Erdi, Gergo
wrote: PUBLIC
Nope, still getting the same error after deleting all of _build. I'm
also on AMD64 Linux. I've tried with GHC 9.2.5 and 9.4.3. For reference, my exact command line (after deleting _build) is:
./boot && ./configure && ./hadrian/build-stack --flavour=devel2 -j10
test --only="ann01"
-----Original Message----- From: Matthew Farkas-Dyck strake888@proton.me
Sent: Wednesday, November 23, 2022 2:29 PM To: Erdi, Gergo Gergo.Erdi@sc.com
Cc: ghc-devs@haskell.org Subject: Re: Almost all tests fail after 08bf28819b
I had the same problem. Deleting the _build directory and rebuilding
solved it for me.
I'm also on amd64 Linux, by the by.
This email and any attachments are confidential and may also be
privileged. If you are not the intended recipient, please delete all copies and notify the sender immediately. You may wish to refer to the incorporation details of Standard Chartered PLC, Standard Chartered Bank and their subsidiaries at https: //www.sc.com/en/our-locations
Where you have a Financial Markets relationship with Standard Chartered
PLC, Standard Chartered Bank and their subsidiaries (the "Group"), information on the regulatory standards we adhere to and how it may affect you can be found in our Regulatory Compliance Statement at https: // www.sc.com/rcs/ and Regulatory Compliance Disclosures at http: // www.sc.com/rcs/fm
Insofar as this communication is not sent by the Global Research team
and contains any market commentary, the market commentary has been prepared by the sales and/or trading desk of Standard Chartered Bank or its affiliate. It is not and does not constitute research material, independent research, recommendation or financial advice. Any market commentary is for information purpose only and shall not be relied on for any other purpose and is subject to the relevant disclaimers available at https: // www.sc.com/en/regulatory-disclosures/#market-disclaimer.
Insofar as this communication is sent by the Global Research team and
contains any research materials prepared by members of the team, the research material is for information purpose only and shall not be relied on for any other purpose, and is subject to the relevant disclaimers available at https: // research.sc.com/research/api/application/static/terms-and-conditions.
Insofar as this e-mail contains the term sheet for a proposed
transaction, by responding affirmatively to this e-mail, you agree that you have understood the terms and conditions in the attached term sheet and evaluated the merits and risks of the transaction. We may at times also request you to sign the term sheet to acknowledge the same.
Please visit https: //www.sc.com/en/regulatory-disclosures/dodd-frank/
for important information with respect to derivative products. _______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

PUBLIC
Thanks, I can confirm I was able to build and validate on the devel2 flavour with this commit merged.
From: Cheng Shao
participants (4)
-
Cheng Shao
-
Erdi, Gergo
-
Matthew Farkas-Dyck
-
Sylvain Henry