Bug 2175851 - Enable avr target
Summary: Enable avr target
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: llvm
Version: CentOS Stream
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Tom Stellard
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-06 16:07 UTC by Rolfe Power
Modified: 2023-04-03 15:41 UTC (History)
17 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-04-03 15:40:56 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-151009 0 None None None 2023-03-08 02:58:02 UTC

Description Rolfe Power 2023-03-06 16:07:44 UTC
Description of problem:

I am building a package and want to link against the system LLVM libraries, but this package requires the AVR target for LLVM. This is enabled for other versions of the build, notably in Fedora. However, I am having a hard time finding the repo that the EPEL-9 version of LLVM is built with.


Version-Release number of selected component (if applicable):
This is for the LLVM package in EPEL-9 that is providing the LLVM-15 libraries.

Notes:

This is similar to https://bugzilla.redhat.com/show_bug.cgi?id=1718492

Comment 1 Josh Stone 2023-03-07 16:52:54 UTC
> However, I am having a hard time finding the repo that the EPEL-9 version of LLVM is built with.

It is a package from RHEL 9 itself, not EPEL, so you would need to make this a Red Hat product request.

The llvm13 compat package *is* in EPEL-9, so you could ask for AVR there instead, if that version suffices.

Comment 3 Rolfe Power 2023-03-08 03:01:23 UTC
Ah yes, my mistake. Unfortunately, I require LLVM >= 15 so I can't use the LLVM 13 package. I have updated the current issue to reference RHEL 9 -> CentOS Stream. Is this okay, or should I close and create a new issue?

Comment 4 Tom Stellard 2023-03-08 12:44:05 UTC
@rolfepower4 That's fine.

Comment 5 Rolfe Power 2023-03-11 20:50:10 UTC
Awesome, let me know if any other information is needed!

Comment 6 Nikita Popov 2023-03-13 08:17:00 UTC
AVR is a hobby target -- it's not particularly stable and maintenance happens rather sporadically. I don't think it would be a good idea to include it in RHEL.

What is this target needed for?

Comment 7 Rolfe Power 2023-03-16 18:33:31 UTC
This is for microcontroller work. I understand the hesitance to include, however. I was not aware of it's experimental status as previous compilations were done on debian-based systems where the target is enabled (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=899202).

Comment 8 Josh Stone 2023-03-16 19:03:59 UTC
Maybe toolbx (https://containertoolbx.org/) would suit you? Then you can easily "contain" your microcontroller work with Fedora tools on your RHEL host.

Comment 9 Rolfe Power 2023-03-16 19:18:49 UTC
Yeah, that is definitely something to look at. I have not used toolbox in the past but if that's the recommended route to go, then I'll have to investigate.

Comment 11 Tom Stellard 2023-04-03 15:40:56 UTC
(In reply to Rolfe Power from comment #9)
> Yeah, that is definitely something to look at. I have not used toolbox in
> the past but if that's the recommended route to go, then I'll have to
> investigate.

Ok, closing this bug then.


Note You need to log in before you can comment on or make changes to this bug.