[Pkg-electronics-devel] GHDL maintenance

Daniel Gröber dxld at darkboxed.org
Tue Jan 17 13:07:56 GMT 2023


Hi Andreas,

On Tue, Jan 17, 2023 at 02:31:25AM +0100, Andreas Bombe wrote:
> On Tue, Nov 22, 2022 at 06:27:41PM +0100, Daniel Gröber wrote:
> > On 22 November 2022 03:08:24 CET, Andreas Bombe <aeb at debian.org> wrote:
> > >I may still make an initial 2.0 release without the library package so I
> > >can get the compiler stuff out of the way and see if it works without
> > >the package waiting in NEW for review.
> > 
> > Sounds good, I'm happy to do the libghdl enablement work myself after 2.0 itself is sorted, but as long as you use my patches it should work out either way.
> > 
> > Just let me know if you need any help testing or otherwise.
> 
> For what it's worth, I uploaded a ghdl with a libghdl a couple of days
> ago to experimental. 

That's great news, thanks!

> I wanted to fix at least some arches building before uploading again to
> unstable, but I'm not sure how long that will take. Worst case I will
> have to disable architectures other than amd64 to get it back into
> testing and have ghdl just on that architecture for this release.

I had some trouble with yosys and friends too and in the end someone else
came through with a patch :)

The way I see it just explicitly fail what doesn't work with a note in the
build log and let someone who cares enough about those arches deal with
it. qemu-user is a thing so really there's no particularly convincing
technical reason that I can see anyone wouldn't be able to use a toolchain
because their native arch doesn't have it.

> I tried compiling the the yosys plugin and it worked once I changed the
> makefile. The libghdl path returned by ghdl in the package is currently
> wrong and it won't find it. However there is no reason to link it
> directly by file name, when I change the filename to -lghdl instead it
> compiles fine. I didn't test it beyond that though.

I'll have a look at that then, I already had this fixed in my packaging I'm
sure it's nothing major just have to massage the paths ghdl spits out a
bit.

--Daniel



More information about the Pkg-electronics-devel mailing list