Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 122269 - sys-fs/mdadm-2.3.1 fails on big endian machines
Summary: sys-fs/mdadm-2.3.1 fails on big endian machines
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-09 09:15 UTC by Charlie Gehlin
Modified: 2006-02-09 20:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Charlie Gehlin 2006-02-09 09:15:26 UTC
# emerge -uv mdadm
-snip-

-snap-
gcc -Wall -DCONFFILE=\"/etc/mdadm.conf\" -mtune=v9 -O2 -pipe -fomit-frame-pointer -DSendmail=\""/usr/sbin/sendmail -t"\"   -c -o super0.o super0.c
super0.c: In function `add_internal_bitmap0':
super0.c:740: warning: implicit declaration of function `__fswab64'
gcc -Wall -DCONFFILE=\"/etc/mdadm.conf\" -mtune=v9 -O2 -pipe -fomit-frame-pointer -DSendmail=\""/usr/sbin/sendmail -t"\"   -c -o super1.o super1.c
super1.c: In function `examine_super1':
super1.c:159: warning: implicit declaration of function `__fswab64'
gcc -Wall -DCONFFILE=\"/etc/mdadm.conf\" -mtune=v9 -O2 -pipe -fomit-frame-pointer -DSendmail=\""/usr/sbin/sendmail -t"\"   -c -o bitmap.o bitmap.c
bitmap.c: In function `sb_le_to_cpu':
bitmap.c:32: warning: implicit declaration of function `__fswab64'
gcc  -o mdadm mdadm.o config.o mdstat.o ReadMe.o util.o Manage.o Assemble.o Build.o Create.o Detail.o Examine.o Grow.o Monitor.o dlink.o Kill.o Query.o mdopen.o super0.o super1.o bitmap.o
super0.o: In function `add_internal_bitmap0':
super0.c:(.text+0x1a64): undefined reference to `__fswab64'
super1.o: In function `examine_super1':
super1.c:(.text+0x260): undefined reference to `__fswab64'
super1.c:(.text+0x4b4): undefined reference to `__fswab64'
super1.c:(.text+0x5ac): undefined reference to `__fswab64'
super1.c:(.text+0x654): undefined reference to `__fswab64'
super1.o:super1.c:(.text+0x944): more undefined references to `__fswab64' follow
collect2: ld returned 1 exit status
make: *** [mdadm] Error 1

!!! ERROR: sys-fs/mdadm-2.3.1 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_compile
  ebuild.sh, line 941:   Called src_compile

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

------------------------------------------------------------------------

# emerge --info
Portage 2.1_pre4-r1 (default-linux/sparc/sparc64/2006.0, gcc-3.4.5, glibc-2.3.5-r3, 2.4.31-sparc-r1 sparc64)
=================================================================
System uname: 2.4.31-sparc-r1 sparc64 sun4u
Gentoo Base System version 1.12.0_pre15
dev-lang/python:     2.3.5-r2, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r4
ACCEPT_KEYWORDS="sparc ~sparc"
AUTOCLEAN="yes"
CBUILD="sparc-unknown-linux-gnu"
CFLAGS="-mtune=v9 -O2 -pipe -fomit-frame-pointer"
CHOST="sparc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mtune=v9 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache cvs distcc distlocks keeptemp noauto noclean sandbox sfperms strict usepkg userpriv usersandbox"
GENTOO_MIRRORS="http://ds.thn.htu.se/linux/gentoo http://mirror.pudas.net/gentoo ftp://mirror.pudas.net/gentoo ftp://ftp.sunet.se/pub/Linux/distributions/gentoo http://distfiles.gentoo.org http://gentoo.gehlin.com/gentoo"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="sparc X X509 aac acl apache2 arts avi bash-completion bcmath berkdb bind-mysql bitmap-fonts bmp bzip2 bzlib chroot crypt cups curl dba dio dlloader dlz dmx dpms eds encode esd ethereal extensions fbcon font-server foomaticdb fortran fpx ftp gcc64 gcj gd gdbm gif gmp gnome gnutls gphoto2 graphviz gstreamer gtk gtk2 hpn imagemagick imap imlib insecure-drivers ipv6 ithreads javascript jbig jpeg jpeg2k kde kerberos krb4 lcms ldap libcaca libwww lz lzo lzw-tiff mad mailwrapper md5sum mikmod mmap mng motif mpeg mysql nas ncurses network nls nocardbus nptl objc ogg opengl oss pam pcre pdflib perl php png python qt readline samba sasl sdl session sftplogging snmp ssl tcltk tcpd tga threads tiff truetype truetype-fonts type1-fonts unicode v4l vdesktop vhosts vim-with-x vorbis wmf xinetd xml xmms xprint xv zlib zvbi elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS
---------------------------------------------------------------------------

Let me know if you need any more info.
Thanks!

/Charlie
Comment 1 SpanKY gentoo-dev 2006-02-09 20:08:51 UTC
fixed in cvs