pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: importing wip/sdl-hercules-* (much newer version than emulators/hercules)
On Sat, Dec 05, 2020 at 06:33:45PM +0100, Rhialto wrote:
> On Sat 05 Dec 2020 at 18:14:19 +0100, Rhialto wrote:
> > On Sat 05 Dec 2020 at 16:10:44 +0100, Rhialto wrote:
> > > I haven't tried yet if this messes up builds on 32 bit systems or if it
> > > just happens to work. Maybe somebody can try and see if I need to defang
> > > the CMake files further?
> >
> > I realised I could install NetBSD/i386 in qemu, and it showed that I do
> > need to defang the "bitness" a bit more. So I did that just now.
>
> Unfortunately that isn't enough. The build of Hercules itself fails:
>
> CCLD cckdcdsk
> ld: /usr/lib/libc.so and /usr/lib/crt0.o: warning: multiple common of `environ'
> ld: /usr/pkgsrc/wip/sdl-hercules-hyperion/work/hyperion-Release_4.3/.libs/libherc.so: undefined reference to `__sync_fetch_and_add_8'
> ld: /usr/pkgsrc/wip/sdl-hercules-hyperion/work/hyperion-Release_4.3/.libs/libherc.so: undefined reference to `__atomic_compare_exchange_8'
> gmake[2]: *** [Makefile:2081: cckdcdsk] Error 1
> gmake[2]: Leaving directory '/usr/pkgsrc/wip/sdl-hercules-hyperion/work/hyperion-Release_4.3'
>
> Gcc generates code to call runtime functions that don't exist...
>
> -Olaf.
> --
> Olaf 'Rhialto' Seibert -- rhialto at falu dot nl
> ___ Anyone who is capable of getting themselves made President should on
> \X/ no account be allowed to do the job. --Douglas Adams, "THGTTG"
You can add -march=i586 to CFLAGS in the package Makefile to avoid this.
Pre-P5 i386 does not have 64-bit atomic ops. But realistically, this
software won't run on pre-p5 i386...
Home |
Main Index |
Thread Index |
Old Index