[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/43912: lang/hugs fails to build on sparc64
> > A small note: From lang/hugs Makefile:
> > # The default -O2 breaks the interpreter producing strange internal errors
> > # at run time.
> > .if !empty(CC_VERSION:Mgcc-4*)
> > CFLAGS+= -O0
> > .endif
> How about replace "CFLAGS+=-O0" line with followings?
> BUILDLINK_TRANSFORM+= rename:-O*:-O0
Suprisingly, that replaces nothing and results in
cc -c -DNDEBUG=1 -O2 -mcpu=ultrasparc -pipe -I/usr/include -O2 hugs.c
Nevertheless, the problem on NetBSD/Sparc64 seems to sit deeper as I get
illegal instruction errors even when compiling hugs with -O0. Same problem with
gcc34 on NetBSD/Sparc64. Hugs compiles fine with pkgsrc on intel/linux, though.
Main Index |
Thread Index |