Skip to content

Source build do not working with clang 13 #2645

Closed

Description

@kant2002

Is it possible backport dotnet/runtime#60328 to release/6.0 branch? I was trying to compile .NET from sources in Gentoo, and because it is using clang-13 it does not work.

And I assume some other infra magic should happens, either here, or in dotnet/installer.

Activity

  1. omajid commented on Nov 28, 2021

    @omajid
    Member

    Warnings should get fixed with dotnet/runtime#61442

    There's another, much more complex, issue too which is being tracked by dotnet/runtime#61671

  2. kant2002 commented on Nov 29, 2021

    @kant2002
    Author

    Thanks for the hints, I would follow them closely too. What I was thinking is that I follow Readme.

    git clone https://github.com/dotnet/installer
    cd installer/
    git switch -c v6.0.100 v6.0.100
    

    and that lead me to clang-13 warnings bug. I now understand that there other issues preventing me from compiling locally, but isn't at least warnings should be in the v6.0.100 branch right now? I just trying understand process better.

    Also, if changes in main right now, what should I do to restart process, just clean sources directory and start again? or there shortcuts for the process?

  3. omajid commented on Nov 29, 2021

    @omajid
    Member

    To be honest, I find the process a bit weird too. There are so many different github projects in play and it's hard to figure where a change is and where it next needs to flow to.

    The v6.0.100 commit is actually a tag, not a branch. It matches exactly what was released as "6.0", and it's missing all followup fixes that are have been merged and scheduled to be released in future (bugfix) releases. The release/6.0.1xx branch tracks what will get released next as SDK 6.0.101 and Runtime 6.0.1, I think.

    The main branch is currently developing what will become .NET 7 next year. You shouldn't use it for anything other than testing right now.

    If you want to use the main branch (or even rebuild v6.0.100), you will have to start from scratch; there isn't a way to do proper incremental source-build builds at this point.

  4. MichaelSimons commented on Dec 2, 2021

    @MichaelSimons
    Member

    [Triage] The runtime fix is on target to release w/6.0.2. We should have documentation for the workflow on how to create a patch for source-build users who would like to get it into 6.0.1.

  5. added
    area-doc
    and removed on Dec 2, 2021
  6. lambdageek commented on Jan 3, 2022

    @lambdageek
    Member
  7. moved this from Blocked to 6.0 On Deck in .NET Source Buildon Feb 10, 2022
  8. moved this from 6.0 On Deck to WIP in .NET Source Buildon Feb 18, 2022
  9. omajid commented on Mar 3, 2022

    @omajid
    Member

    This should have been fixed in the February release of .NET 6. Is anyone still running into this?

  10. MichaelSimons commented on Mar 10, 2022

    @MichaelSimons
    Member

    [Triage] Closing as the underlying issue has been resolved and we have heard of no more issues.

  11. Repository owner moved this from WIP to Done in .NET Source Buildon Mar 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area-doc

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions