Dinar Valeev
2011-11-08 11:02:49 UTC
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
Thanks in advance,
Dinar
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
Thanks in advance,
Dinar
--
To unsubscribe, e-mail: opensuse-ppc+***@opensuse.org
To contact the owner, e-mail: opensuse-ppc+***@opensuse.org
To unsubscribe, e-mail: opensuse-ppc+***@opensuse.org
To contact the owner, e-mail: opensuse-ppc+***@opensuse.org