On Sun, 13 Oct 2024 23:56:55 +0200
Kirill A. Korinsky <kir...@korins.ky> wrote:

> On Sun, 13 Oct 2024 21:50:06 +0200,
> izzy Meyer <izder...@disroot.org> wrote:
> > 
> > ld: error: undefined symbol: _Unwind_Backtrace
> > >>> referenced by Logger.c:1363 (src/Logger.c:1363)
> > >>>               build-openbsd/Logger.o:(Logger_Backtrace)
> >  
> > ld: error: undefined symbol: _Unwind_GetIP
> > >>> referenced by Logger.c:1355 (src/Logger.c:1355)
> > >>>               build-openbsd/Logger.o:(UnwindFrame)
> > cc: error: linker command failed with exit code 1 (use -v to see
> > invocation) gmake[1]: *** [Makefile:247: ClassiCube] Error 1
> > gmake[1]: Leaving directory '/tmp/ClassiCube-1.3.7'
> > gmake: *** [Makefile:175: openbsd] Error 2
> > 
> 
> You should use CXX and not CC. Here an updated diff which builds on
> -current/amd64 but I haven't tested it.
> 
> Thus, I've noticed that Makefile had hardcoded /usr/local which I also
> replaced to actual value inside pre-configure stage.
> 

I'll send that makefile patch upstream. Did you see my recent reply
that upstream fixed things?

https://marc.info/?l=openbsd-ports&m=172885472931514&w=2

Why, exactly do we need CXX and not CC here? and most-importantly, why
does it fix things?

Thanks-

-- 
iz (they/them)

> i like to say mundane things,
> there are too many uninteresting things
> that go unnoticed.

izder456 (dot) neocities (dot) org

Attachment: pgptzbQYfloKA.pgp
Description: OpenPGP digital signature

Reply via email to