dgilmore changed the topic of #fedora-riscv to: Fedora on RISC-V https://fedoraproject.org/wiki/Architectures/RISC-V || Logs: https://libera.irclog.whitequark.org/fedora-riscv || Alt Arch discussions are welcome in #fedora-alt-arches
jmontleon has joined #fedora-riscv
jmontleon has quit [Quit: Leaving]
fuwei has joined #fedora-riscv
davidlt has joined #fedora-riscv
esv_ has joined #fedora-riscv
esv_ has quit [Remote host closed the connection]
<rwmjones> sorear: we have no particular policies for RHEL / RISC-V, just want to make it as much like x86-64 as we possibly can
<rwmjones> so for CFI we're enabling that in RHEL 10 on x86-64
<rwmjones> so same for RISC-V, if toolchain allows
davidlt has quit [Ping timeout: 268 seconds]
davidlt has joined #fedora-riscv
davidlt has quit [Remote host closed the connection]
davidlt has joined #fedora-riscv
oaken-source has quit [Ping timeout: 252 seconds]
oaken-source has joined #fedora-riscv
gffranco has quit [Ping timeout: 252 seconds]
gffranco has joined #fedora-riscv
fuwei has quit [Ping timeout: 255 seconds]
fuwei has joined #fedora-riscv
fuwei has quit [Quit: Konversation terminated!]
davidlt has quit [Ping timeout: 264 seconds]
fuwei has joined #fedora-riscv
fuwei has quit [Remote host closed the connection]
fuwei has joined #fedora-riscv
zsun has joined #fedora-riscv
fuwei has quit [Ping timeout: 256 seconds]
silug has quit [Quit: The Lounge - https://thelounge.chat]
silug has joined #fedora-riscv
zsun has quit [Quit: Leaving.]
davidlt has joined #fedora-riscv
davidlt has quit [Remote host closed the connection]
davidlt has joined #fedora-riscv
fuwei has joined #fedora-riscv
<sorear> rwmjones: what does "enabling that" mean? if some random package doesn't work with it, who is responsible for dealing with that? does it also affect the default behavior of the installed gcc?
<sorear> (vs. only spec files)
fuwei has quit [Ping timeout: 268 seconds]
cyberpear has joined #fedora-riscv
davidlt has quit [Ping timeout: 256 seconds]
<rwmjones> sorear: well for RHEL packages that we ship, Red Hat is ultimately responsible
<rwmjones> we have a scanning process that checks every binary has CFI enabled which prevents us (mostly) from shipping them
<rwmjones> I think the changes to enable CFI went into redhat-rpm-config
<sorear> would it be fair to say it becomes much less useful if there are _any_ packages it can't be enabled for?
<rwmjones> for C/C++/Rust programs I don't think it's an issue, it's mainly been a problem in non-C ecosystems where we have to add support to the compiler (as was done with OCaml for example)
<rwmjones> CFI is fairly non-intrusive, it just means adding endbr64 to functions and a bit more of a headache with ret/jmp
silug has quit [Quit: The Lounge - https://thelounge.chat]
<sorear> trying to work out exactly what level of intrusiveness is acceptable for RISC-V, one of the committers has proposed dropping the support for loading non-CFI DSOs in a process where the initial executable was CFI
<sorear> (dlopen)
<rwmjones> I think it should work however x86-64 works
<rwmjones> (which I have no idea)
<sorear> x86-64 is incompatible with POSIX.1-2004 and last I checked the dlopen issue is somewhat up in the air even there
<rwmjones> let me ask florian
<rwmjones> sorear: got a link to the risc-v discussion? is it on https://github.com/riscv/riscv-cfi
davidlt has joined #fedora-riscv
davidlt has quit [Remote host closed the connection]
silug has joined #fedora-riscv
davidlt has joined #fedora-riscv
<sorear> rwmjones: yes, and the linked thread
<rwmjones> I cc'd you on an email
<sorear> the @gmail.com no longer works, if you sent it to @fastmail.com I'll keep being patient
silug has quit [Ping timeout: 252 seconds]
davidlt has quit [Ping timeout: 264 seconds]
<rwmjones> sorear: I sent it to gmail ... can you pm me the fastmail address & I'll forward it
cyberpear has quit [Quit: Connection closed for inactivity]
cyberpear has joined #fedora-riscv
cyberpear has quit [Quit: Connection closed for inactivity]
<Esmil> etuhonteh a