Hi, OCaml is currently broken on powerpc:
ocamlc.opt: undefined symbol '' I have no idea what broke this or how to fix it. OpenBSD 5.5 had ocaml-4.01.0 in ports. 4.01.0 doesn't build on -current. So the breakage is probably caused by a change on the OpenBSD side. Anyone any ideas? Christopher On Wed, 3 Sep 2014 13:03:55 -0400 Daniel Dickman <didick...@gmail.com> wrote: > Hmm... maybe worth sending to hackers@ before we go this route to see > if anyone wants to take a look first? I'd be sad to lose this. I guess the problem is on the OpenBSD side. I don't have access to powerpc. So maybe you could try to build 4.02 on OpenBSD 5.5 Just try http://caml.inria.fr/pub/distrib/ocaml-4.02/ocaml-4.02.0.tar.gz with ./configure && gmake world.opt Christopher > Did landry have any idea when this broke? maybe we can bisect down to > the exact patch that broke things? > > > > > On Wed, Sep 3, 2014 at 12:57 PM, Christopher Zimmermann > <chr...@openbsd.org> wrote: > > Hi, > > > > OCaml is currently broken on powerpc. (Undefined symbol '' during > > ocamlopt). > > I have not the faintest idea what the problem is or how to fix it. I > > guess we would need a linker / ELF guru here. For the time being I'd > > propose no disable nativecode on powerpc. > > Daniel provided me with shell access to a powerpc machine to test and > > so far all ports I tried are building fine. > > Thoughts? OKs? > > > > Christopher > > > > > > > > Index: arch-defines.mk > > =================================================================== > > RCS file: /home/cvs/ports/infrastructure/mk/arch-defines.mk,v > > retrieving revision 1.20 > > diff -u -p -r1.20 arch-defines.mk > > --- arch-defines.mk 19 Mar 2014 13:28:04 -0000 1.20 > > +++ arch-defines.mk 3 Sep 2014 15:53:11 -0000 > > @@ -26,7 +26,7 @@ GCC3_ARCHS = aviion luna88k m88k vax > > # XXX easier for ports that depend on mono > > MONO_ARCHS = amd64 i386 > > LLVM_ARCHS = amd64 i386 powerpc mips64 mips64el sparc sparc64 > > -OCAML_NATIVE_ARCHS = i386 sparc amd64 powerpc > > +OCAML_NATIVE_ARCHS = i386 sparc amd64 > > OCAML_NATIVE_DYNLINK_ARCHS = i386 amd64 > > > > > > > > > > -- > > http://gmerlin.de > > OpenPGP: http://gmerlin.de/christopher.pub > > F190 D013 8F01 AA53 E080 3F3C F17F B0A1 D44E 4FEE -- http://gmerlin.de OpenPGP: http://gmerlin.de/christopher.pub F190 D013 8F01 AA53 E080 3F3C F17F B0A1 D44E 4FEE
signature.asc
Description: PGP signature