First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 199835
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Linux High-Performance Clustering Team <hp-cluster@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Renato Crisóstomo <renato.crisostomo@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
output.log build log example text/plain Renato Crisóstomo 2007-11-20 23:55 0000 12.97 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 199835 depends on: Show dependency tree
Show dependency graph
Bug 199835 blocks: 129413
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: 2007-11-20 22:34 0000
lam-mpi-7.1.2 builds fine with --as-needed, but when I try to build an MPI
executable it gives me lots of "undefined reference to <some-symbol>" errors
when linking against /usr/lib/libmpi.so
It works fine if I remove --as-needed from LDFLAGS.

Reproducible: Always

------- Comment #1 From Jakub Moc 2007-11-20 22:46:38 0000 -------
Post the actual errors here, please. Also emerge --info is missing.

------- Comment #2 From Renato Crisóstomo 2007-11-20 23:55:55 0000 -------
Created an attachment (id=136560) [edit]
build log example

------- Comment #3 From Renato Crisóstomo 2007-11-21 00:01:15 0000 -------
# emerge --info
Portage 2.1.3.19 (default-linux/x86/2006.1/desktop, gcc-4.2.2, glibc-2.6.1-r0,
2.6.23-gentoo i686)
=================================================================
System uname: 2.6.23-gentoo i686 Intel(R) Pentium(R) M processor 1500MHz
Timestamp of tree: Tue, 20 Nov 2007 20:30:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.2-r1
dev-lang/python:     2.5.1-r3
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.5, 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-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer
-momit-leaf-frame-pointer -fno-ident"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf
/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c
/etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer
-momit-leaf-frame-pointer -fno-ident -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans
userfetch"
GENTOO_MIRRORS="http://darkstar.ist.utl.pt/pub/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
LINGUAS="en pt pt_PT"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa avahi bash-completion berkdb bitmap-fonts bzip2 cairo
cdr cli cracklib crypt dbus dri dvd dvdr emboss fam firefox gif gnome gstreamer
gtk gtk2 hal iconv isdnlog jpeg kerberos mad midi mmx mp3 mpeg mudflap ncurses
nls nptl nptlonly ogg opengl openmp pcre pdf perl png ppds pppd python
quicktime readline reflection samba sdl session spell spl sse sse2 ssl svg
threads truetype truetype-fonts type1-fonts unicode vorbis win32codecs x86 xml
xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106
cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics"
KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001
mtxorb ncurses text" LINGUAS="en pt pt_PT" USERLAND="GNU" VIDEO_CARDS="nvidia
vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS,
PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

------- Comment #4 From Justin Bronder 2008-03-11 15:12:03 0000 -------
Renato,
I just committed a fix for this in lam-mpi-7.1.4, should be on the mirrors
soon.  Hopefully you're still interested, sorry fixing this took so long.

Thanks for the report.

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