Re: ocaml ppc64 build failure
Dinar Valeev <[email protected]>
| Newsgroups | gmane.linux.suse.ppc |
|---|---|
| Message-ID | <CADqALGTFLr438N9zwpesE8kjHqgMWSzkdUA31oAwKA3nDRNCUA@mail.gmail.com> |
Fixed with that patch https://build.opensuse.org/package/view_file?file=ocaml-ppc64.patch&package=ocaml&project=home%3Ak0da%3Appc&srcmd5=a41aaf4f73c0302d3127360e32b2361e On Tue, Nov 8, 2011 at 1:35 PM, Alexander Graf <[email protected]> wrote: > > On 08.11.2011, at 12:02, Dinar Valeev <[email protected]> wrote: > >> Hi, I need help with building ocaml for Factory ppc64. >> >> ocaml is missing dependency for brltty -> orca -> sax2 -> installation images ;) >> >> There is something with compiler flags, as it builds locally through >> configure && make world >> >> But when it builds through OBS (or locally osc) it throws an error: >> ../../boot/ocamlrun ../../tools/ocamlmklib -oc unix accept.o access.o >> addrofstr.o alarm.o bind.o chdir.o chmod.o chown.o chroot.o close.o >> closedir.o connect.o cst2constr.o cstringv.o dup.o dup2.o envir.o >> errmsg.o execv.o execve.o execvp.o exit.o fchmod.o fchown.o fcntl.o >> fork.o ftruncate.o getaddrinfo.o getcwd.o getegid.o geteuid.o getgid.o >> getgr.o getgroups.o gethost.o gethostname.o getlogin.o getnameinfo.o >> getpeername.o getpid.o getppid.o getproto.o getpw.o gettimeofday.o >> getserv.o getsockname.o getuid.o gmtime.o initgroups.o isatty.o >> itimer.o kill.o link.o listen.o lockf.o lseek.o mkdir.o mkfifo.o >> nice.o open.o opendir.o pipe.o putenv.o read.o readdir.o readlink.o >> rename.o rewinddir.o rmdir.o select.o sendrecv.o setgid.o setgroups.o >> setsid.o setuid.o shutdown.o signals.o sleep.o socket.o socketaddr.o >> socketpair.o sockopt.o stat.o strofaddr.o symlink.o termios.o time.o >> times.o truncate.o umask.o unixsupport.o unlink.o utimes.o wait.o >> write.o >> ../../ocamlcomp.sh -c -warn-error A -g -nolabels unix.mli >> ../../ocamlc.opt: error while loading shared libraries: R_PPC64_ADDR32 >> rel10213794 for symbol `fmod' out of range >> make[2]: *** [unix.cmi] Error 127 >> make[2]: Leaving directory >> `/home/abuild/rpmbuild/BUILD/ocaml-3.12.1/otherlibs/unix' >> make[1]: *** [otherlibraries] Error 2 >> make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/ocaml-3.12.1' >> make: *** [world.opt] Error 2 >> >> Can anybody help me to fix that? >> https://build.opensuse.org/package/live_build_log?arch=ppc64&package=ocaml&project=home%3Ak0da%3Appc&repository=openSUSE_Factory_PowerPC_standard > > Does it still break when you ignore RPM_OPT_FLAGS? I would guess no. If so, please check iby gradually removing flags which one is the offending one. > > Maybe the ocaml configure also adds some magic cflag to keep things in the low 32 bit range and drops that when cflags is externally specified? > > Just wild guesses though... > > Alex > >> >> Thanks in advance, >> Dinar >> -- >> To unsubscribe, e-mail: [email protected] >> To contact the owner, e-mail: [email protected] >> > -- To unsubscribe, e-mail: [email protected] To contact the owner, e-mail: [email protected]