First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 113392
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Sparc Porters <sparc@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: duryee@gmail.com
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 113392 depends on: Show dependency tree
Bug 113392 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-11-23 12:43 0000
I added ~sparc to sys-apps/bar, and bar 1.10.3 compiles cleanly but doesn't
run.
It gives the following error:

*** ERROR: [2]: No such file or directory
           Memory allocation failed

It works on x86, however.

Reproducible: Always
Steps to Reproduce:
1. emerge bar on sparc
2. run it
3. crash and burn

Actual Results:  
*** ERROR: [2]: No such file or directory
           Memory allocation failed


Expected Results:  
runs like x86 version

Portage 2.0.51.22-r3 (default-linux/sparc/sparc64/2005.1, gcc-3.3.5-20050130,
glibc-2.3.3.20040420-r2, 2.4.31-sparc sparc64)
=================================================================
System uname: 2.4.31-sparc sparc64 sun4u
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
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.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.4.23
ACCEPT_KEYWORDS="sparc"
AUTOCLEAN="yes"
CBUILD="sparc-unknown-linux-gnu"
CFLAGS="-pipe -O -mcpu=ultrasparc"
CHOST="sparc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-pipe -O -mcpu=ultrasparc"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="sparc apache2 arts avi bash-completion berkdb bitmap-fonts bzip2 crypt
cups
dlloader eds emacs encode enscript esd expat foomaticdb fortran gcc64 gd gdbm
gif gstreamer gtk2 jpeg libwww mad mhash mikmod motif mpeg ncurses nls
nosendmail ogg oggvorbis opengl oss pam pcre pda pdflib perl php png python qt
readline samba sdl snmp spell ssl tcpd tetex tiff truetype truetype-fonts
type1-fonts ultra1 vorbis xml2 xmms xv zlib userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS,
PORTDIR_OVERLAY

------- Comment #1 From Jakub Moc (RETIRED) 2005-11-23 12:47:46 0000 -------
That's probably why it's not keyworded sparc at all. Feel free to reopen with a
sane patch. 

------- Comment #2 From duryee@gmail.com 2005-11-23 13:26:02 0000 -------
adding --disable-use-memalign to econf makes it work, i.e.:

 econf --disable-use-memalign || die "econf failed"


bar tries to use either posix_memalign, or plain malloc if the former isn't
available. The sparc version needs to be plain malloc.

------- Comment #3 From Gustavo Zacarias (RETIRED) 2005-12-14 07:03:07 0000 -------
Fixed in cvs and keyworded ~sparc, thanks for the report.


First Last Prev Next    No search results available      Search page      Enter new bug