Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* glibc-2.1.2 troubles ?
@ 1999-09-23 13:11 Christian Iseli
  1999-09-23 13:25 ` Rich Payne
  0 siblings, 1 reply; 2+ messages in thread
From: Christian Iseli @ 1999-09-23 13:11 UTC (permalink / raw)
  To: axp-list

Hi folks,

On an AlphaPC164LX...

A while ago, I compiled glibc-2.1.2pre3 using a slightly patched gcc 2.95.1
(patch from Stephen L Moshier found in the c9x-complex package).  I had
basically no problems with this one.

Today, I tried compiling the latest glibc-2.1.2 (final, I guess), and there
were many more math problems during the testing.  I did a quick diff, and found
very little change in the math code... Strange.  Any thoughts what migth be
causing the new failures ?  I upgraded my kernel from 2.2.3 to 2.2.13pre11
between the two compilations.  Can this be the cause ?

The other strange thing is when trying to link something with -lpthread I get:
/usr/lib/libpthread.so: undefined reference to `__libc_fork@@GLIBC_2.1.2'

Any thoughts ?

The last strange thing I have is that lnxcc, the Compaq C compiler, refuses to 
run (both with glibc-2.1.2pre3 and 2.1.2 final).  It runs for a while, then 
stops with the message:
/usr/lib/compaq/ccc-6.2/alpha-redhat-linux/bin/lnxcc:
 error in loading shared libraries:
 /usr/lib/compaq/ccc-6.2/alpha-redhat-linux/bin/lnxcc:
 undefined symbol: __setjmp

nm finds the __setjmp in the libc.so file.

The end of an strace looks like this:
... Reads the C source file, then
close(4)                                = 0
munmap(0x20000030000, 8192)             = 0
rt_sigaction(SIGTRAP, {0x120399840, [], 0}, NULL, 8, 0) = 0
rt_sigaction(SIGFPE, {0x120399840, [], 0}, NULL, 8, 0) = 0
rt_sigaction(SIGILL, {0x120399840, [], 0}, NULL, 8, 0) = 0
osf_setsysinfo(0xe, 0x11fffa960, 0, 0x1, 0x120310760) = 0
write(2, "/usr/lib/compaq/ccc-6.2/alpha-re"..., 52) = 52
write(2, ": error in loading shared librar"..., 37) = 37
write(2, "/usr/lib/compaq/ccc-6.2/alpha-re"..., 52) = 52
write(2, ": ", 2)                       = 2
write(2, "undefined symbol: __setjmp", 26) = 26
write(2, "", 0)                         = 0
write(2, "", 0)                         = 0
write(2, "\n", 1)                       = 1
exit(127)                               = ?

Any hints greatly appreciated.

Cheers,
					Christian



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: glibc-2.1.2 troubles ?
  1999-09-23 13:11 glibc-2.1.2 troubles ? Christian Iseli
@ 1999-09-23 13:25 ` Rich Payne
  0 siblings, 0 replies; 2+ messages in thread
From: Rich Payne @ 1999-09-23 13:25 UTC (permalink / raw)
  To: Christian Iseli; +Cc: axp-list


You may want to look at the kernel source as I think there was a sizable
change to the math emulation code, in 2.2.12 I seem to recall.

--rdp

On Thu, 23 Sep 1999, Christian Iseli wrote:

> Hi folks,
> 
> On an AlphaPC164LX...
> 
> A while ago, I compiled glibc-2.1.2pre3 using a slightly patched gcc 2.95.1
> (patch from Stephen L Moshier found in the c9x-complex package).  I had
> basically no problems with this one.
> 
> Today, I tried compiling the latest glibc-2.1.2 (final, I guess), and there
> were many more math problems during the testing.  I did a quick diff, and found
> very little change in the math code... Strange.  Any thoughts what migth be
> causing the new failures ?  I upgraded my kernel from 2.2.3 to 2.2.13pre11
> between the two compilations.  Can this be the cause ?
> 
> The other strange thing is when trying to link something with -lpthread I get:
> /usr/lib/libpthread.so: undefined reference to `__libc_fork@@GLIBC_2.1.2'
> 
> Any thoughts ?
> 
> The last strange thing I have is that lnxcc, the Compaq C compiler, refuses to 
> run (both with glibc-2.1.2pre3 and 2.1.2 final).  It runs for a while, then 
> stops with the message:
> /usr/lib/compaq/ccc-6.2/alpha-redhat-linux/bin/lnxcc:
>  error in loading shared libraries:
>  /usr/lib/compaq/ccc-6.2/alpha-redhat-linux/bin/lnxcc:
>  undefined symbol: __setjmp
> 
> nm finds the __setjmp in the libc.so file.
> 
> The end of an strace looks like this:
> ... Reads the C source file, then
> close(4)                                = 0
> munmap(0x20000030000, 8192)             = 0
> rt_sigaction(SIGTRAP, {0x120399840, [], 0}, NULL, 8, 0) = 0
> rt_sigaction(SIGFPE, {0x120399840, [], 0}, NULL, 8, 0) = 0
> rt_sigaction(SIGILL, {0x120399840, [], 0}, NULL, 8, 0) = 0
> osf_setsysinfo(0xe, 0x11fffa960, 0, 0x1, 0x120310760) = 0
> write(2, "/usr/lib/compaq/ccc-6.2/alpha-re"..., 52) = 52
> write(2, ": error in loading shared librar"..., 37) = 37
> write(2, "/usr/lib/compaq/ccc-6.2/alpha-re"..., 52) = 52
> write(2, ": ", 2)                       = 2
> write(2, "undefined symbol: __setjmp", 26) = 26
> write(2, "", 0)                         = 0
> write(2, "", 0)                         = 0
> write(2, "\n", 1)                       = 1
> exit(127)                               = ?
> 
> Any hints greatly appreciated.
> 
> Cheers,
> 					Christian
> 
> 
> -- 
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 

Rich Payne
rpayne@alphalinux.org			www.alphalinux.org


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-09-23 13:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-09-23 13:11 glibc-2.1.2 troubles ? Christian Iseli
1999-09-23 13:25 ` Rich Payne

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox