ECL and musl
daniel at turtleware.eu
Thu Oct 12 16:12:23 UTC 2017
your problem is related to bundled libgc. We have some
conditionalization for musl, so I'm sure it worked in the past. I'd
suggest trying to install libgc from alpine repositories and build ECL
against that libgc. If Alpine doesn't have libgc in the repositories,
I'd try building upstream bdwgc and linking ECL with it. If it doesn't
build, report a bug on bdwgc project, if it does – please let us know
here so we'll update bundled libgc to the working version.
On 12.10.2017 18:03, Lucas Ramage wrote:
> I am attempting to package ecl for alpine linux and I am having
> troubles compiling against musl.
> Building ecl_min...
> .//libeclgc.a(mach_dep.o): In function `GC_with_callee_saves_pushed':
> /root/ecl-16.1.3/src/bdwgc/mach_dep.c:245: undefined reference to
> collect2: error: ld returned 1 exit status
> make: *** [Makefile:224: ecl_min] Error 1
> make: Leaving directory '/root/ecl-16.1.3/build'
> make: *** [Makefile:72: all] Error 2
> I tried `make CFLAGS='-DNO_GETCONTEXT'` but that did not work either.
> Has anyone successfully built ecl using musl?
> Visit online journal <https://lramage94.github.io/>
> *Lucas Ramage* / Software Engineer
> ramage.lucas at openmailbox.org <mailto:ramage.lucas at openmailbox.org> /
> (941) 404-6794 <tel:%28941%29%20404-6794>
> *PGP Fingerprint* / Learn More <https://emailselfdefense.fsf.org/en/>
> EAE7 45DF 818D 4948 DDA7 0F44 F52A 5A96 7B9B 6FB7
> *Visit online journal*
> http://lramage94.github.io <https://lramage94.github.io/>
> Github <https://github.com/lramage94>Linkedin
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ecl-devel