Bug 1718492

Summary: Enable avr experimental target?
Product: [Fedora] Fedora Reporter: Elliott Sales de Andrade <quantum.analyst>
Component: llvmAssignee: Tom Stellard <tstellar>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 31CC: dmalcolm, jakub, jistone, scottt.tw, sguelton, siddharth.kde, tstellar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-09-23 07:30:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Elliott Sales de Andrade 2019-06-07 23:21:57 UTC
Description of problem:
I'm packaging tinygo and one of its targets is AVR microcontrollers. It uses llvm to build for several targets, but the llvm in Fedora does not support avr.

I wonder if it might be possible to enable the avr target in Fedora's llvm. You'll need to pass -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=avr to do so.

Fedora already has an avr-targetting gcc, so this would complement that.


Version-Release number of selected component (if applicable):
8.0.0-7.fc31 and 8.0.0-6.fc30, preferably

Comment 1 serge_sans_paille 2019-06-18 13:44:18 UTC
Random informations on the subject:

- http://lab.llvm.org:8011/builders/llvm-avr-linux (the associated buildbot) has been down for more than 5 months
- last update on the subject http://lists.llvm.org/pipermail/llvm-dev/2019-January/129089.html
- the project maintainer is pretty active on the test suite https://github.com/dylanmckay/avr-compiler-integration-tests/commits/master

@tstellar, what's the policy wrt experimental targets?

Comment 2 Elliott Sales de Andrade 2019-07-23 09:25:05 UTC
Relatedly, tinygo just got a RISC-V target, which appears to be experimental in llvm as well and not yet enabled in Fedora.

Comment 3 serge_sans_paille 2019-07-23 11:27:03 UTC
@tstellar : lets activate them for llvm 8.0.1 ?

Comment 4 Ben Cotton 2019-08-13 17:12:31 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to '31'.

Comment 5 Ben Cotton 2019-08-13 18:57:31 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to 31.

Comment 6 Elliott Sales de Andrade 2019-09-07 10:43:05 UTC
Any progress on this? Not to compare distros too much, but it's weird that Fedora does not have these enabled when Debian does have at least avr.

Comment 7 serge_sans_paille 2019-09-19 00:39:31 UTC
See https://src.fedoraproject.org/rpms/llvm/pull-request/24, I had to disable s390 target, otherwise seems ok.

Comment 8 serge_sans_paille 2019-09-23 07:30:42 UTC
See https://bugs.llvm.org/show_bug.cgi?id=43384 for s390x - specifcs

Comment 9 serge_sans_paille 2019-11-26 17:35:58 UTC
For the record: lvm-9.0.0-4.fc32 got patched to support AVR for all archs (including the previously missing s390x arch)