public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/57990] New: cross compilation fails to build zlib (git-1b179ea9d4020d)
@ 2013-07-26 8:10 dominik.vogt at gmx dot de
2013-07-26 8:18 ` [Bug other/57990] " dominik.vogt at gmx dot de
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: dominik.vogt at gmx dot de @ 2013-07-26 8:10 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57990
Bug ID: 57990
Summary: cross compilation fails to build zlib
(git-1b179ea9d4020d)
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
Assignee: unassigned at gcc dot gnu.org
Reporter: dominik.vogt at gmx dot de
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug other/57990] cross compilation fails to build zlib (git-1b179ea9d4020d)
2013-07-26 8:10 [Bug other/57990] New: cross compilation fails to build zlib (git-1b179ea9d4020d) dominik.vogt at gmx dot de
@ 2013-07-26 8:18 ` dominik.vogt at gmx dot de
2021-08-26 6:12 ` [Bug bootstrap/57990] " pinskia at gcc dot gnu.org
2021-08-26 6:13 ` pinskia at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: dominik.vogt at gmx dot de @ 2013-07-26 8:18 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57990
--- Comment #1 from dominik.vogt at gmx dot de ---
Version is commit id 1b179ea9d4020d from git (i.e. current HEAD).
Cross compilation from BUILD=i686-pc-linux-gnu, HOST=i686-pc-linux-gnu to
TARGET=s390-ibm-linux-gnu fails to built zlib.
configure was run from gcc-orig/build with
../configure \
--prefix="$INSTALLDIR" \
--disable-bootstrap\
--enable-lto \
--enable-maintainer-mode \
--enable-threads=posix \
--enable-tls \
--enable-languages=c \
--enable-stage1-languages=c \
--target=s390-ibm-linux \
--enable-frame-pointer \
--enable-multilib \
--disable-libssp
error message (path's anonymized):
$ make -j 1
...
make "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g -O2" "CXXFLAGS=-g -O2"
"CFLAGS_FOR_BUILD=-g -O2" "CFLAGS_FOR_TARGET=-g -O2" "INSTALL=/usr/bin/install
-c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install
-c" "INSTALL_SCRIPT=/usr/bin/install -c" "LDFLAGS=" "LIBCFLAGS=-g -O2"
"LIBCFLAGS_FOR_TARGET=-g -O2" "MAKE=make" "MAKEINFO=makeinfo
--split-size=5000000 --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET="
"SHELL=/bin/sh" "EXPECT=expect" "RUNTEST=runtest" "RUNTESTFLAGS="
"exec_prefix=/home/.../gcc-orig/install"
"infodir=/home/.../gcc-orig/install/share/info"
"libdir=/home/.../gcc-orig/install/lib" "prefix=/home/.../gcc-orig/install"
"tooldir=/home/.../gcc-orig/install/s390-ibm-linux" "AR=ar" "AS=as" "CC=gcc"
"CXX=g++" "LD=ld" "LIBCFLAGS=-g -O2" "NM=nm" "PICFLAG=" "RANLIB=ranlib"
"DESTDIR=" DO=all multi-do # make
make[3]: Entering directory `/home/.../gcc-orig/build/zlib'
if [ -z "64" ]; then \
true; \
else \
rootpre=`${PWDCMD-pwd}`/; export rootpre; \
srcrootpre=`cd ../../zlib; ${PWDCMD-pwd}`/; export srcrootpre; \
lib=`echo "${rootpre}" | sed -e 's,^.*/\([^/][^/]*\)/$,\1,'`; \
compiler="gcc"; \
for i in `${compiler} --print-multi-lib 2>/dev/null`; do \
dir=`echo $i | sed -e 's/;.*$//'`; \
if [ "${dir}" = "." ]; then \
true; \
else \
if [ -d ../${dir}/${lib} ]; then \
flags=`echo $i | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; \
if (cd ../${dir}/${lib}; make \
CFLAGS="-g -O2 ${flags}" \
CCASFLAGS=" ${flags}" \
FCFLAGS=" ${flags}" \
FFLAGS=" ${flags}" \
ADAFLAGS=" ${flags}" \
prefix="/home/.../gcc-orig/install" \
exec_prefix="/home/.../gcc-orig/install" \
GCJFLAGS=" ${flags}" \
GOCFLAGS=" ${flags}" \
CXXFLAGS="-g -O2 ${flags}" \
LIBCFLAGS="-g -O2 ${flags}" \
LIBCXXFLAGS="-g -O2 -fno-implicit-templates
${flags}" \
LDFLAGS=" ${flags}" \
MULTIFLAGS="${flags}" \
DESTDIR="" \
INSTALL="/usr/bin/install -c" \
INSTALL_DATA="/usr/bin/install -c -m 644" \
INSTALL_PROGRAM="/usr/bin/install -c" \
INSTALL_SCRIPT="/usr/bin/install -c" \
all); then \
true; \
else \
exit 1; \
fi; \
else true; \
fi; \
fi; \
done; \
fi
make[4]: Entering directory `/home/.../gcc-orig/build/64/zlib'
make[4]: *** No rule to make target `all'. Stop.
make[4]: Leaving directory `/home/.../gcc-orig/build/64/zlib'
make[3]: *** [multi-do] Error 1
make[3]: Leaving directory `/home/.../gcc-orig/build/zlib'
make[2]: *** [all-multi] Error 2
make[2]: Leaving directory `/home/.../gcc-orig/build/zlib'
make[1]: *** [all-zlib] Error 2
make[1]: Leaving directory `/home/.../gcc-orig/build'
make: *** [all] Error 2
make -j 1 9.02s user 2.65s system 85% cpu 13.657 total
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug bootstrap/57990] cross compilation fails to build zlib (git-1b179ea9d4020d)
2013-07-26 8:10 [Bug other/57990] New: cross compilation fails to build zlib (git-1b179ea9d4020d) dominik.vogt at gmx dot de
2013-07-26 8:18 ` [Bug other/57990] " dominik.vogt at gmx dot de
@ 2021-08-26 6:12 ` pinskia at gcc dot gnu.org
2021-08-26 6:13 ` pinskia at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-26 6:12 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57990
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |DUPLICATE
Status|UNCONFIRMED |RESOLVED
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Dup of bug 43328 which is fixed in GCC 9.
*** This bug has been marked as a duplicate of bug 43328 ***
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug bootstrap/57990] cross compilation fails to build zlib (git-1b179ea9d4020d)
2013-07-26 8:10 [Bug other/57990] New: cross compilation fails to build zlib (git-1b179ea9d4020d) dominik.vogt at gmx dot de
2013-07-26 8:18 ` [Bug other/57990] " dominik.vogt at gmx dot de
2021-08-26 6:12 ` [Bug bootstrap/57990] " pinskia at gcc dot gnu.org
@ 2021-08-26 6:13 ` pinskia at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-26 6:13 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57990
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Note the cause was " --enable-multilib"
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-08-26 6:13 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-26 8:10 [Bug other/57990] New: cross compilation fails to build zlib (git-1b179ea9d4020d) dominik.vogt at gmx dot de
2013-07-26 8:18 ` [Bug other/57990] " dominik.vogt at gmx dot de
2021-08-26 6:12 ` [Bug bootstrap/57990] " pinskia at gcc dot gnu.org
2021-08-26 6:13 ` pinskia at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).