Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 98479 - newest stable glibc / binutils on Alpha troubles with postgresql-8.0.1-r3
Summary: newest stable glibc / binutils on Alpha troubles with postgresql-8.0.1-r3
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: Alpha Linux
: Normal normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-09 10:01 UTC by Marc
Modified: 2007-09-22 23:41 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc 2005-07-09 10:01:22 UTC
I run into a problem when I upgraded my system to the newest glibc binutils.
Postgres 8 wan't compile:

alpha-unknown-linux-gnu-gcc -mcpu=ev56 -O3 -pipe -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -I../../src/include -D_GNU_SOURCE   -c -o zic.o zic.c -MMD
alpha-unknown-linux-gnu-gcc -mcpu=ev56 -O3 -pipe -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -I../../src/include -D_GNU_SOURCE   -c -o ialloc.o ialloc.c -MMD
alpha-unknown-linux-gnu-gcc -mcpu=ev56 -O3 -pipe -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -I../../src/include -D_GNU_SOURCE   -c -o scheck.o scheck.c -MMD
alpha-unknown-linux-gnu-gcc -mcpu=ev56 -O3 -pipe -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing zic.o ialloc.o scheck.o localtime.o -L../../src/port  -Wl,-rpath,/usr/lib -lpgport -lpam -lssl -lcrypto -lz -lreadline -lcrypt -lresolv -lnsl -ldl -lm -lbsd  -o zic
/usr/lib/gcc-lib/alpha-unknown-linux-gnu/3.3.2/../../../libdl.so: undefined reference to `_rtld_global_ro@GLIBC_PRIVATE'
/lib/libc.so.6.1: undefined reference to `__tls_get_addr@GLIBC_2.3'
collect2: ld returned 1 exit status
make[2]: *** [zic] Error 1
make[2]: Leaving directory `/var/tmp/portage/postgresql-8.0.1-r3/work/postgresql-8.0.1/src/timezone'

I remember to see a equivalent bug report from an x86. See bug #49089

At the moment, it concerns only Postgres...

Thanks

Portage 2.0.51.19 (default-linux/alpha/2005.0, gcc-3.3.2, glibc-2.3.4.20041102-r1, 2.6.8 alpha)
=================================================================
System uname: 2.6.8 alpha EV56
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.2.3-r5,dev-lang/python-2.3.5 [2.3.5 (#1, Jul  9 2005, 12:40:42)]
ccache version 2.3 [enabled]
dev-lang/python:     2.2.3-r5, 2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.9.5, 1.5, 1.8.5-r3, 1.7.9-r1, 1.6.3, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="alpha"
AUTOCLEAN="yes"
CFLAGS="-mcpu=ev56 -O3 -pipe"
CHOST="alpha-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=ev56 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sfperms strict"
GENTOO_MIRRORS="ftp://sunsite.cnlab-switch.ch/mirror/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="alpha apache apache2 arts berkdb bitmap-fonts crypt cups encode ev56 font-server foomaticdb fortran gd gdbm gif gpm gtk2 imlib jpeg libg++ libwww mad mikmod motif mp3 mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl php png postgres postgresql python qmail quicktime readline sdl slang snmp spell ssl tcpd tiff truetype-fonts type1-fonts xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Marc 2005-07-09 13:41:30 UTC
Please ignore this bug report.

There was an older libc library installed under /usr/lib and
postgres linked against this file. Which of course can't work.
These older libc files was left on my system, because sometime
ago I had to rescue my system manually.

Sorry...