First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 232620
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Science Mathematics related packages <sci-mathematics@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: rainer <rbachl@web.de>
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 232620 depends on: Show dependency tree
Show dependency graph
Bug 232620 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

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







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


Description:   Opened: 2008-07-22 04:27 0000
freemat does not compile successfully on amd64:

Print.cpp: In function 'void ComputeScaleFactor(const T*, int,
ArrayFormatInfo&) [with T = float]':
001731 Print.cpp:231:   instantiated from here
001732 Print.cpp:183: error: ISO C++ says that these are ambiguous, even though
the worst conversion for the first is better than the worst conversion for the
second:
001733 /usr/include/gentoo-multilib/amd64/bits/mathcalls.h:154: note: candidate
1: double pow(double, double)
001734 /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4/cmath:346: note:
candidate 2: float std::pow(float, float)
001735 Print.cpp:185: error: ISO C++ says that these are ambiguous, even though
the worst conversion for the first is better than the worst conversion for the
second:
001736 /usr/include/gentoo-multilib/amd64/bits/mathcalls.h:154: note: candidate
1: double pow(double, double)
001737 /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4/cmath:346: note:
candidate 2: float std::pow(float, float)
001738 Print.cpp:187: error: ISO C++ says that these are ambiguous, even though
the worst conversion for the first is better than the worst conversion for the
second:
001739 /usr/include/gentoo-multilib/amd64/bits/mathcalls.h:154: note: candidate
1: double pow(double, double)
001740 /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4/cmath:346: note:
candidate 2: float std::pow(float, float)
001741 Print.cpp:189: error: ISO C++ says that these are ambiguous, even though
the worst conversion for the first is better than the worst conversion for the
second:
001742 /usr/include/gentoo-multilib/amd64/bits/mathcalls.h:154: note: candidate
1: double pow(double, double)
001743 /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4/cmath:346: note:
candidate 2: float std::pow(float, float)
001744 make[3]: *** [Print.o] Error 1

# emerge --info
Portage 2.1.4.4 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0,
2.6.25-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r6 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor
3800+
Timestamp of tree: Mon, 21 Jul 2008 19:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r5
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf
/etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo
/etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms
strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.tiscali.nl/ http://gentoo.inode.at/"
LANG="en_US"
LC_ALL="en_US"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles
--exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi aim alsa amd64 apache2 apm arts audiofile
bash-completion bcmath berkdb bidi blas bluetooth branding bzip2 cairo
cdparanoia cdr cli cracklib crypt cups curl curlwrappers cxx dbus dga directfb
doc dri dts dvb dvd dvdr dvdread eds emacs emboss encode esd evo examples exif
fam fastcgi fbcon ffmpeg fftw firefox flac fortran ftp gd gdbm ggi gif gimp
ginac glut gnome gnutls gphoto2 gpm gstreamer gtk hal iconv icq idn ieee1394
imagemagick imap ipv6 isdnlog jabber java javascript jikes jpeg jpeg2k kde
kdeenablefinal kdrive kerberos lapack lcms ldap leim libedit libnotify libwww
lirc lm_sensors mad madwifi matroska midi mikmod mime mmx mng mnogosearch mono
mp3 mpeg mpi msn mudflap mule multilib mysql mysqli nas ncurses nls nptl
nptlonly nsplugin nvidia ogg ole openal opengl openmp osc oscar oss pam pcre
pdf perl php plotutils png ppds pppd python qt3 qt3support qt4 quicktime radius
readline reflection samba scanner sdl seamonkey server session sockets socks5
spell spl sqlite sse sse2 ssl startup-notification svg symlink szip tcpd tetex
theora threads tidy tiff tokenizer truetype unicode v4l v4l2 vcd vhosts vorbis
wifi wxwindows xcomposite xface xine xml xmlrpc xorg xosd xv xvid yahoo zlib
zrtp" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare
dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw
multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias
auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm
authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache
dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache
filter headers include info log_config logio mem_cache mime mime_magic
negotiation rewrite setenvif speling status unique_id userdir usertrack
vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" LIRC_DEVICES="imon" USERLAND="GNU" VIDEO_CARDS="nvidia vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LINGUAS,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Additional info on freemat:
freemat also requires arpack, and arpack does not compile with mpich.
Therefore mpich needs to be removed and replaced by another mpi, e.g. openmpi.
This seems to be a known issue.


Reproducible: Always

Steps to Reproduce:
emerge freemat

------- Comment #1 From Sébastien Fabbro 2008-07-22 09:11:05 0000 -------
It seems to be a gcc bug on amd64 multilib for version < 4.3. Anyway I believe
this is fixed now in cvs. Please re-open this bug if not.

> freemat also requires arpack, and arpack does not compile with mpich.
> Therefore mpich needs to be removed and replaced by another mpi, e.g. openmpi.
> This seems to be a known issue.

We're working on making openmpi the default mpi implementation. Also, see bug
#212199.

Thanks for your report.

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