First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 202684
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Michael Imhof <tantive@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Juergen Rose <rose@rz.uni-potsdam.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

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

Bug 202684 depends on: Show dependency tree
Bug 202684 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: 2007-12-18 11:53 0000
x86_64-pc-linux-gnu-gcc  -m64 -fomit-frame-pointer -fno-stack-protector -O2 -g
-Wmissing-prototypes -Wall -Wshadow -Wpointer-arith -Wstrict-prototypes
-Wmissing-declarations -fno-strict-aliasing -O2 -march=k8 -Wno-long-long
-Wno-pointer-sign -Wdeclaration-after-statement -fno-stack-protector  -m64
-fomit-frame-pointer -fno-stack-protector -O2 -g -Wmissing-prototypes -Wall
-Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations
-fno-strict-aliasing  -o valgrind-listener
valgrind_listener-valgrind-listener.o  
mpicc -g -O -fno-omit-frame-pointer -Wall -fpic -shared -m64 \
                -I../include \
                -o libmpiwrap-AMD64_LINUX.so libmpiwrap.c
libmpiwrap.c: In function 'walk_type':
libmpiwrap.c:651: warning: cast from pointer to integer of different size
libmpiwrap.c:652: warning: cast from pointer to integer of different size
libmpiwrap.c:657: warning: cast from pointer to integer of different size
libmpiwrap.c:658: warning: cast from pointer to integer of different size
libmpiwrap.c:663: warning: cast from pointer to integer of different size
libmpiwrap.c:664: warning: cast from pointer to integer of different size
libmpiwrap.c:669: warning: cast from pointer to integer of different size
libmpiwrap.c:670: warning: cast from pointer to integer of different size
libmpiwrap.c:675: warning: cast from pointer to integer of different size
libmpiwrap.c:676: warning: cast from pointer to integer of different size
libmpiwrap.c:681: warning: cast from pointer to integer of different size
libmpiwrap.c:682: warning: cast from pointer to integer of different size
libmpiwrap.c: In function 'maybe_complete':
libmpiwrap.c:1306: warning: format '%p' expects type 'void *', but argument 5
has type 'MPI_Request'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.2/../../../../x86_64-pc-linux-gnu/bin/ld:
/usr/lib64/libmpich.a(comm_rank.o): relocation R_X86_64_32 against `a local
symbol' can not be used when making a shared object; recompile with -fPIC
/usr/lib64/libmpich.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libmpiwrap-AMD64_LINUX.so] Error 1


Reproducible: Always




root@grizzly:/var/tmp(7)# emerge --info
 * Overlay eclass overrides eclass from PORTDIR:
 * 
 *   '/usr/portage/local/layman/science/eclass/fortran.eclass'
 * 
 * It is best to avoid overridding eclasses from PORTDIR because it will
 * trigger invalidation of cached ebuild metadata that is distributed with
 * the portage tree. If you must override eclasses from PORTDIR then you
 * are advised to run `emerge --regen` after each time that you run `emerge
 * --sync`. Set PORTAGE_ECLASS_WARNING_ENABLE="0" in /etc/make.conf if you
 * would like to disable this warning.
Portage 2.1.4_rc10 (default-linux/amd64/2007.0, gcc-4.2.2, glibc-2.7-r1,
2.6.23-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3200+
Timestamp of tree: Tue, 18 Dec 2007 09:00:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.3
dev-lang/python:     2.4.4-r7, 2.5.1-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8"
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"
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/rul
es.d"
CXXFLAGS="-O2 -march=k8"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer sandbox sfperms strict
unmerge-orphans userfetch"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror
http://ftp-stud.fht-esslingen.de/pub/Mirrors/g
entoo/ rsync://ftp.fi.muni.cz/pub/linux/gentoo
ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://sunsite.informatik.r
wth-aachen.de/pub/Linux/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo
ftp://ftp.easynet.nl/mirror/gentoo/ "
LINGUAS="de fr"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-a
fter --stats --timeout=180 --exclude=/distfiles --exclude=/local
--exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/science /usr/local/portage
/usr/local/sci"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X Xaw3d a52 aac acl acpi administrator afs aiglx alsa amd64
amrr ao aotuv apache2 asf atlas auctex a
udacious audiofile automount bash-completion beagle berkdb bitmap-fonts bjam
blas bluetooth bonobo boo bzip2 cairo cdda 
cddb cdf cdio cdparanoia cdr cgi chm cli corba cracklib cran crypt cups curl
daap dbus device-mapper dga dia divx dlload
er dmi dri ds3490 dv dvb dvd dvdr dvi dxr3 dynagraph eds effects elf emacs
emboss encode epiphany esd evo examples exif 
expat extra fam fame ffmpeg fftw firefox fits flac fltk foomaticdb fortran fpx
galago gd gdal gdbm geos gif gimp gimppri
nt ginac glade glitz gml gmp gnokii gnome gnuplot gnutls gphoto2 gpm graphics
graphviz gs gsl gsm gstreamer gtk guile ha
l hardened hddtemp hdf hdf5 hlapi http iconv icq id3 imagemagick imap innodb
ipv6 irda irmc isdnlog ithreads jabber java
 jbig john jp2 jpeg jpeg2k kerberos kexi keyring ladspa lame lapack latex lcms
ldap libgda libsamplerate lirc lm_sensors
 lua lzo lzw mad maildir math matroska midi mmx mmxext mng mod mono motif
mozdevelop mozilla mozsvg mozxmlterm mp3 mp4 m
p4live mpeg mpeg2 mplayer mudflap musicbrainz mysql mysqli nautilus ncurses
neXt netcdf netpbm network nfs nls nntp nptl
 nptlonly ntfs numarray numeric obex ocaml octave odbc ogdi ogg ole opengl
openmp pae pam pcre pda pdf perl plotutils pl
ugins png posix postgres postscript pppd preview-latex proj projectx pstricks
python qhull quicktime readline reflection
 reiserfs rhythmbox rle rrdcgi rrdtool samba sasl science sdl session slang slp
sndfile snmp sox speex spell spl sqlite 
sse sse2 ssl subtitles subversion svg t1lib tcl tcpd tex theora threads
thunderbird tidy tiff tk truetype truetype-fonts
 type1-fonts unicode userlocales utempter v4l2 vorbis wmf wxwindows xattr
xemacs xext xine xml xmlreader xmlrpc xorg xpm
 xv xvid xvmc zlib zvbi" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x
ca0106 cmipci emu10k1x ens1370 ens1371 es
1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio
via82xx via82xx-modem ymfpci" 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_cach
e mime mime_magic negotiation rewrite setenvif speling status unique_id userdir
usertrack vhost_alias" DVB_CARDS="tda100
46 saa7134" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780
 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de fr"
LIRC_DEVICES="hauppauge_dvb" USERLAND="GNU" VIDEO_CARDS="radeon vesa
 fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_
FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Maurice van der Pot 2007-12-24 18:59:54 0000 -------
See here for info:
http://bugs.kde.org/show_bug.cgi?id=154240

Unfortunately I don't have time to work on this until about January 4.

------- Comment #2 From Maurice van der Pot 2008-01-17 21:38:22 0000 -------
Can you please provide the output of:
equery belongs /usr/lib64/libmpich.a

------- Comment #3 From Michal Machtel 2008-01-22 00:10:01 0000 -------
I have the same error,  output of "equery belongs /usr/lib/libmpich.a" is
sys-cluster/mpich-1.2.7_p1 (/usr/lib/libmpich.a)

------- Comment #4 From Maurice van der Pot 2008-01-22 20:36:06 0000 -------
Can someone explain why it is not linking against a shared object?
If there is no libmpich.so, should libmpich.a be built with -fPIC?

------- Comment #5 From Justin Bronder 2008-01-22 21:47:01 0000 -------
(In reply to comment #4)
> Can someone explain why it is not linking against a shared object?
> If there is no libmpich.so, should libmpich.a be built with -fPIC?
> 

It appears that if you don't pass in --without-mpicc, valgrind is nice enough
to scan your system and try to use it anyways.

A quick fix until tantive gets some time to fix mpich (if that's possible)
would probably be to pass --without-mpicc to econf.  That worked for me against
lam-mpi and openmpi.  Could someone verify this also works with mpich?

------- Comment #6 From Patrizio Bassi 2008-06-22 11:50:35 0000 -------
no change here since months?

------- Comment #7 From Patrizio Bassi 2008-07-27 17:24:57 0000 -------
ping!

------- Comment #8 From Olivier Crete 2008-07-27 17:56:19 0000 -------
I've added --without-mpicc to the valgrind ebuild... If you ever get to fix
mpich to produce dynamic libs, I guess you can replace it with a use-dep and
$(use_with mpi mpicc) ...

------- Comment #9 From Patrizio Bassi 2008-07-27 18:44:47 0000 -------
but the fix is not in portage, i still cannot compile it...

------- Comment #10 From Patrizio Bassi 2008-09-21 10:23:28 0000 -------
Olivier/Michael, can we do something for this?

3.3.1 is out too needs a bump

------- Comment #11 From Maurice van der Pot 2008-09-23 17:23:18 0000 -------
About the bump: what do you mean? 3.3.1 is in the tree already.

------- Comment #12 From Patrizio Bassi 2008-09-23 17:50:24 0000 -------
oh! for any reasons my emerge -uD world didn't show it.

bumping to 3.3.1 fixed the issue, great.

you can close this.

------- Comment #13 From Jeremy Olexa (darkside) 2008-10-02 02:02:33 0000 -------
(In reply to comment #12)
> oh! for any reasons my emerge -uD world didn't show it.
> 
> bumping to 3.3.1 fixed the issue, great.
> 
> you can close this.
> 

3.3.1 works for me as well, closing as fixed.

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