Re: dlmalloc CC0 license (was Re: Packaging a cross-compilation environment (wasi-libc))

2023-08-10 Thread Jan Staněk
Hi Daniel, "Daniel P. Berrangé" writes: > I'm reviewing another package (sgxsdk) which also includes a copy > of dlmalloc with the CC0 license declaration. I wondered if you > ever made contact with Doug Lea around this question ? I recall trying to reach him via mail and not being successful; h

dlmalloc CC0 license (was Re: Packaging a cross-compilation environment (wasi-libc))

2023-08-02 Thread Daniel P . Berrangé
Bringing a year old thread back from the dead... On Mon, Aug 29, 2022 at 06:54:35AM -0700, Jan Staněk wrote: > Florian Weimer writes: > > You can try to replace the current version with dlmalloc 2.7.2, which > > still comes with the previous public domain dedication: > > > >

Re: Packaging a cross-compilation environment (wasi-libc)

2022-10-27 Thread Jun Aruga (he / him)
On Mon, Oct 24, 2022 at 1:19 PM Jan Staněk wrote: > > Hi Jun, > > "Jun Aruga (he / him)" writes: > > Do you have a plan to create the RPM package for wasi-sdk[1]? > > Not really, since we already (almost) have it available :) > > The wasi-sdk consists of llvm toolchain (clang & friends) compiled

Re: Packaging a cross-compilation environment (wasi-libc)

2022-10-24 Thread Jan Staněk
Hi Jun, "Jun Aruga (he / him)" writes: > Do you have a plan to create the RPM package for wasi-sdk[1]? Not really, since we already (almost) have it available :) The wasi-sdk consists of llvm toolchain (clang & friends) compiled so that it can emit WASM code, and the wasi-libc, which implements

Re: Packaging a cross-compilation environment (wasi-libc)

2022-10-20 Thread Jun Aruga (he / him)
> So, I am building the wasi-sdk from the source on Fedora 36. But I > feel it takes more than 60 minutes, and is still in progress. > I wonder how other program languages supporting WebAssembly manage > this situation. I just finished building the source. The building time was 60 minutes. ``` $

Re: Packaging a cross-compilation environment (wasi-libc)

2022-10-20 Thread Jun Aruga (he / him)
Hi Jan, Thanks for the work around WebAssembly. Do you have a plan to create the RPM package for wasi-sdk[1]? The coming Ruby new version 3.2 supports WebAssembly, and it requires wasi-sdk to use it.[2] But the released wasi-sdk binaries on the upstream project don't have the binary compatibility

Re: Packaging a cross-compilation environment (wasi-libc)

2022-08-29 Thread Jan Staněk
To better collaborate on this, I've pushed my working copy of the package to gitlab [1]. It's a bit experimental (i.e. it tries to use source-git [2] approach to development), but should allow any interested party to review what I'm doing :) Integration with COPR is on my TODO list. [1]: https://

Re: Packaging a cross-compilation environment (wasi-libc)

2022-08-29 Thread Florian Weimer
* Jan Staněk: > The main issue I'm fighting with currently is the CC0-licensed dlmalloc > and it's possible replacement with the musl one. > It seems that the dlmalloc is used mainly because it does not need > a mmap-like capabilities on the system; WebAssembly does not provide that. > I'm yet to

Re: Packaging a cross-compilation environment (wasi-libc)

2022-08-29 Thread Jan Staněk
Hello all again! Some good news: With a gentle poking [1], the wasi-libc now have a tagged version(s) - or at least tags corresponding to the version used in a WASI-SDK. That should help us better agreement on which version to use down the road. [1]: https://github.com/WebAssembly/wasi-libc/issue

Re: Packaging a cross-compilation environment (wasi-libc)

2022-08-22 Thread Josh Stone
On 8/22/22 5:35 AM, Florian Weimer wrote: > * Jan Staněk: > >> Hi list, >> in order to be able to compile WASM natively on Fedora, >> I'm trying to package wasi-libc[1] to provide the Web Assembly System >> Interface. >> >> [1]: https://github.com/WebAssembly/wasi-libc >> >> My trouble is that thi

Re: Packaging a cross-compilation environment (wasi-libc)

2022-08-22 Thread Florian Weimer
* Jan Staněk: > Hi list, > in order to be able to compile WASM natively on Fedora, > I'm trying to package wasi-libc[1] to provide the Web Assembly System > Interface. > > [1]: https://github.com/WebAssembly/wasi-libc > > My trouble is that this is in essence a cross-compilation environment, > and

Re: Packaging a cross-compilation environment (wasi-libc)

2022-08-19 Thread Jan Staněk
Hi again, thanks for all the suggestions! I'm taking the AVR approach so far; if you want to play with my drafts, I have a experimental COPR: https://copr.fedorainfracloud.org/coprs/jstanek/wasi-libc/ I plan to open a proper Fedora Review request on Monday; right now, I'm a bit too tired to go th

Re: Packaging a cross-compilation environment (wasi-libc)

2022-08-17 Thread Richard W.M. Jones
On Tue, Aug 16, 2022 at 03:12:55AM -0700, Jan Staněk wrote: > Hi list, > in order to be able to compile WASM natively on Fedora, > I'm trying to package wasi-libc[1] to provide the Web Assembly System > Interface. > > [1]: https://github.com/WebAssembly/wasi-libc > > My trouble is that this is in

Re: Packaging a cross-compilation environment (wasi-libc)

2022-08-16 Thread Fabio Valentini
On Tue, Aug 16, 2022 at 12:13 PM Jan Staněk wrote: > > Hi list, > in order to be able to compile WASM natively on Fedora, > I'm trying to package wasi-libc[1] to provide the Web Assembly System > Interface. > > [1]: https://github.com/WebAssembly/wasi-libc > > My trouble is that this is in essence

Re: Packaging a cross-compilation environment (wasi-libc)

2022-08-16 Thread Dominik 'Rathann' Mierzejewski
Hello, Jan. On Tuesday, 16 August 2022 at 12:12, Jan Staněk wrote: > Hi list, > in order to be able to compile WASM natively on Fedora, > I'm trying to package wasi-libc[1] to provide the Web Assembly System > Interface. > > [1]: https://github.com/WebAssembly/wasi-libc > > My trouble is that th

Packaging a cross-compilation environment (wasi-libc)

2022-08-16 Thread Jan Staněk
Hi list, in order to be able to compile WASM natively on Fedora, I'm trying to package wasi-libc[1] to provide the Web Assembly System Interface. [1]: https://github.com/WebAssembly/wasi-libc My trouble is that this is in essence a cross-compilation environment, and I have zero experience in tryi