Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70335 - librep-0.17 compile fails with --with-stack-direction is incorrect
Summary: librep-0.17 compile fails with --with-stack-direction is incorrect
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-07 02:00 UTC by Simon Stapleton
Modified: 2005-12-23 01:26 UTC (History)
0 users

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 Simon Stapleton 2004-11-07 02:00:00 UTC
On trying to emerge librep-0.17 on my machine, I get the following error message:

REPLISPDIR=../lisp REP_DL_LOAD_PATH=../src/.libexec REPDOCFILE=../doc-strings ../src/rep --batch -l rep.vm.compiler \
  -f compile-batch rep-xgettext.jl \
&& mv rep-xgettext.jlc rep-xgettext && chmod +x rep-xgettext
 ** error: --with-stack-direction is incorrect; it should be -1
make[1]: *** [rep-xgettext] Error 10

I note that --with-stack-direction=1 has been added relatively recently to the ebuild, editing it directly in the ebuild on my machine makes the problem go away.

I'm running on a G4-upgraded Powermac 9500, initial gentoo install from the 2004.1 stage3 tarball, if that's of any relevance, 

CFLAGS="-O2 -mcpu=7400 -maltivec -mabi=altivec -pipe"
CHOST="powerpc-unknown-linux-gnu"

and USE-flags are standard

Simon

Reproducible: Always
Steps to Reproduce:
1. emerge librep

Actual Results:  
 ** error: --with-stack-direction is incorrect; it should be -1


Expected Results:  
Built correctly ;-)

terrorist etc # emerge info
Portage 2.0.51-r2 (default-ppc-2004.1, gcc-3.2.3, glibc-2.3.2-r9, 2.6.9 ppc)
===============================================================
==
System uname: 2.6.9 ppc 7400, altivec supported
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.3
Binutils: sys-devel/binutils-2.14.90.0.6-r6
Headers:  sys-kernel/linux-headers-2.4.22
Libtools: sys-devel/libtool-1.4.3-r4
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=7400 -maltivec -mabi=altivec -pipe"
CHOST="powerpc-unknown-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /
usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mcpu=7400 -maltivec -mabi=altivec -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/
gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X berkdb dvd esd f77 gdbm gif gtk imlib jpeg nls opengl pam perl png postgres ppc python 
readline ssl tcpd truetype"
Comment 1 Olivier Crete (RETIRED) gentoo-dev 2004-11-07 08:05:32 UTC
see see also 67428
Comment 2 Luca Barbato gentoo-dev 2004-11-07 13:48:57 UTC
could you try to upgrade gcc?
Comment 3 Luca Barbato gentoo-dev 2005-12-23 01:26:35 UTC
Reopen if the problem persists