Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 367447 - sys-libs/ncurses-5.9 fails to build on MIPS
Summary: sys-libs/ncurses-5.9 fails to build on MIPS
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: MIPS Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-15 23:11 UTC by Angelo Arrifano (RETIRED)
Modified: 2011-05-16 14:14 UTC (History)
0 users

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


Attachments
build.log (build.log,894.16 KB, text/plain)
2011-05-15 23:11 UTC, Angelo Arrifano (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Angelo Arrifano (RETIRED) gentoo-dev 2011-05-15 23:11:25 UTC
Created attachment 273337 [details]
build.log

(...)
/usr/bin/g++ -I../c++ -I../include -I/usr/mipsel-softfloat-linux-gnu/tmp/portage/sys-libs/ncurses-5.9/work/ncurses-5.9/c++ -DHAVE_CONFIG_H  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64  -DXTSTRINGDEFINES -DNDEBUG -I. -I../include -I/usr/mipsel-softfloat-linux-gnu/tmp/portage/sys-libs/ncurses-5.9/work/ncurses-5.9/c++/../include -Os -pipe  -fomit-frame-pointer -I/usr/mipsel-softfloat-linux-gnu/usr/include/ -I/usr/mipsel-softfloat-linux-gnu/include/ -W -Wall -Wabi -fabi-version=0 -Woverloaded-virtual -Wsign-promo -Wsynth -Wold-style-cast -Wcast-align -Wcast-qual -Wpointer-arith -Wshadow -Wundef -Wwrite-strings -Weffc++ -Wno-unused -fPIC -c /usr/mipsel-softfloat-linux-gnu/tmp/portage/sys-libs/ncurses-5.9/work/ncurses-5.9/c++/cursespad.cc -o ../obj_s/cursespad.o
In file included from /usr/mipsel-softfloat-linux-gnu/usr/include/sys/cdefs.h:353,
                 from /usr/mipsel-softfloat-linux-gnu/usr/include/features.h:357,
                 from /usr/mipsel-softfloat-linux-gnu/usr/include/stdlib.h:25,
                 from /usr/mipsel-softfloat-linux-gnu/tmp/portage/sys-libs/ncurses-5.9/work/ncurses-5.9/c++/internal.h:53,
                 from /usr/mipsel-softfloat-linux-gnu/tmp/portage/sys-libs/ncurses-5.9/work/ncurses-5.9/c++/cursesm.cc:34:
/usr/mipsel-softfloat-linux-gnu/usr/include/bits/wordsize.h:20:5: warning: "_MIPS_SIM" is not defined
/usr/mipsel-softfloat-linux-gnu/usr/include/bits/wordsize.h:20:18: warning: "_ABI64" is not defined
(...)

I'm new to MIPS but AFAIK those macros are defined in the toolchain. Maybe a include file is missing? I'm attaching the build.log
Comment 1 Angelo Arrifano (RETIRED) gentoo-dev 2011-05-15 23:12:32 UTC
cross-mipsel-softfloat-linux-gnu/binutils-2.21
cross-mipsel-softfloat-linux-gnu/gcc-4.5.2
cross-mipsel-softfloat-linux-gnu/glibc-2.13-r2
cross-mipsel-softfloat-linux-gnu/linux-headers-2.6.38
Comment 2 SpanKY gentoo-dev 2011-05-16 03:47:32 UTC
from the log:
...
USE: cxx ...
...
.../configure ... --host=mipsel-softfloat-linux-gnu ...
...
checking for mipsel-softfloat-linux-gnu-g++... no
...

if you're going to build with USE=cxx, you must provide a C++ compiler
Comment 3 Angelo Arrifano (RETIRED) gentoo-dev 2011-05-16 10:34:39 UTC
I can't believe I missed this one! Thank you Mike.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2011-05-16 14:14:32 UTC
(In reply to comment #3)
> I can't believe I missed this one! Thank you Mike.

Why did you reopen the bug?