Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 267324

Summary: dev-lang/ocaml cross-compile (to arm) failure (arm.S: Error: no such instruction)
Product: Gentoo Linux Reporter: Alex Filov <alexander.filov>
Component: Current packagesAssignee: Gentoo Team for the ML programming language family <ml>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
env

Description Alex Filov 2009-04-24 12:27:00 UTC
cross-compile failure

Reproducible: Always

Steps to Reproduce:
1. xmerge ocaml
2.
3.

Actual Results:  
arm.S:303: Error: too many memory references for `mov'
arm.S:304: Error: too many memory references for `mov'
arm.S:305: Error: too many memory references for `mov'
arm.S:306: Error: no such instruction: `ldr r10,.Lcaml_apply3'
arm.S:307: Error: no such instruction: `b .Ljump_to_caml'
arm.S:312: Error: no such instruction: `ldr r10,.Lcaml_array_bound_error'
arm.S:314: Error: no such instruction: `b caml_c_call'
If your assembler produced syntax errors, it is probably unhappy with the
preprocessor. Check your assembler, or try producing arm.o by hand.
make[1]: *** [arm.o] Error 2
make[1]: Leaving directory `/var/tmp/portage/dev-lang/ocaml-3.10.2/work/ocaml-3.10.2/asmrun'
make: *** [runtimeopt] Error 2

and etc
Comment 1 Alex Filov 2009-04-24 12:28:02 UTC
Created attachment 189315 [details]
build.log
Comment 2 Alex Filov 2009-04-24 12:28:17 UTC
Created attachment 189317 [details]
env
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-25 16:38:09 UTC
Please post your "emerge --info".
Comment 4 Alex Filov 2009-04-27 12:38:41 UTC
(In reply to comment #3)
> Please post your "emerge --info".
> 

 emerge --info
Portage 2.1.6.1 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.28-rc3-vanilla-armada_M300- i686)
=================================================================
System uname: Linux-2.6.28-rc3-vanilla-armada_M300-i686-Pentium_III_-Coppermine-with-glibc2.0
Timestamp of tree: Fri, 24 Apr 2009 14:00:05 +0000
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.4.4-r15, 2.5.4-r2, 2.6.1-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/cmake:      2.6.3-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium3 -pipe -fomit-frame-pointer -fforce-addr -frename-registers  -falign-functions=64"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-Os -march=pentium3 -pipe -fomit-frame-pointer -fforce-addr -frename-registers  -falign-functions=64"
DISTDIR="/usr/portage/distfiles"
FEATURES="digest distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS=" http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo "
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="ru"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/opt/media/portage_overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="#Apparatura #Arhitektura #Bazi #Bezopasnost' #Failovie #GUI #Graficheskie #Multimediinie #Network #Office #Polzovatelskie #Science #Sound #Video #X #Yaziki R X aac aalib acl acpi alsa avi biblioteki bzip2 cli cracklib crypt dannih dbus dga doc dri dvd encode examples ffmpeg fftw flac flash float fortran fortran95 gd gettex gif gnuplot gphoto2 gstreamer gtk2 hdf5 iconv int64 ipython isdnlog jpeg kqemu lapack lm_sensors mathml matroska midi mmx mmx2 mp3 mpeg mpi mudflap mysql ncurses nls nptl nptlonly odbc ogg oggvorbis opengl openmp pam patented pcmcia pcre pda pdf png pnp pppd programmirovaniya pvfs2 python qt qt3 qt3support qt4 quicktime readline reflection sandbox session sistemi socks5 spell spl sqlite sse ssl sysfs tcpd theora threads tiff tk tools truetype umfpack unicode usb utf8 vorbis wifi win32codecs wxwindows x86 xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" USERLAND="GNU" VIDEO_CARDS="mach64"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 5 Alexis Ballier gentoo-dev 2009-04-28 20:44:39 UTC

*** This bug has been marked as a duplicate of bug 237629 ***