1 |
It appears that and a similar fix for the ctype errors with the compaq |
2 |
extended math library has resolved this issue. |
3 |
|
4 |
Thanks again. |
5 |
|
6 |
FYI. |
7 |
|
8 |
I've found the following CFLAGS very useful on my Alpha: |
9 |
|
10 |
CFLAGS=-O3 -mcpu=ev56 -mtune=ev56 -mieee -mno-soft-float -mfp-regs -pipe |
11 |
-pthread |
12 |
|
13 |
(the -mno-soft-float -mfp-regs attempt to use the internal FP components of |
14 |
the Alpha processor and the -mieee corrects for NAN (not-a-number, e.g. |
15 |
divide by zero) issues). |
16 |
|
17 |
Anyone have other/better optimizations for ev56 class? |
18 |
|
19 |
|
20 |
-----Original Message----- |
21 |
From: Brian Parkhurst [mailto:brianp@×××××××.net] |
22 |
Sent: Tuesday, July 12, 2005 22:49 |
23 |
To: gentoo-alpha@l.g.o |
24 |
Subject: Re: [gentoo-alpha] Recent Glibc breaks CPQ-Java? |
25 |
|
26 |
I appreciate the feedback. I haven't had the time myself to research and |
27 |
thought I'd ask if anyone else had seen it. Before delving further into it |
28 |
and filing a bug report. (I like to try and figure out the solution or at |
29 |
least part way down the path before filing a bug). |
30 |
|
31 |
I knew the runtime was the old compaq java and have been trying to locate a |
32 |
source to a more recent release. Just some of the stuff I've installed on |
33 |
my alpha now doesn't work as the jvm fails. |
34 |
|
35 |
I'll try the patch when I get another shot at it and report back soonest. |
36 |
|
37 |
Brian Parkhurst |
38 |
brianp@×××××××.net |
39 |
----- Original Message ----- |
40 |
From: "Jose Luis Rivero (YosWinK)" <yoswink@g.o> |
41 |
To: <gentoo-alpha@l.g.o> |
42 |
Sent: Sunday, July 10, 2005 4:10 PM |
43 |
Subject: Re: [gentoo-alpha] Recent Glibc breaks CPQ-Java? |
44 |
|
45 |
|
46 |
> Hi Brian: |
47 |
> |
48 |
> Sorry for my delayed response ... i'm quite busy lately trying to finish |
49 |
> some real live (tm) issues. |
50 |
> |
51 |
>> I've rebuilt my glibc 2.3.4.20041102-r1 recently and now I'm getting a |
52 |
>> strange error with java-config. (mainly I did this because the gcc |
53 |
>> version upgraded to 3.3.6 ). |
54 |
>> |
55 |
>> Can't load library "/opt/compaq-jdk-1.3.1/jre/lib/alpha/libjava.so", |
56 |
>> because /op |
57 |
>> t/compaq-jdk-1.3.1/jre/lib/alpha/libjava.so: symbol __libc_wait, version |
58 |
>> GLIBC_2 |
59 |
>> .0 not defined in file libc.so.6.1 with link time reference |
60 |
>> Could not create the Java virtual machine. |
61 |
>> |
62 |
>> Any ideas? |
63 |
>> |
64 |
> First of all, i would like to clarify that java related bugs in gentoo |
65 |
> alpha aren't the first in our TODO list. This has a quite simple |
66 |
> explanation: Only java virtual machine actually in portage is |
67 |
> "java-compaq" which is not maintained upstream since 1.3.1, so try to |
68 |
> solve bugs without upstream support and without new 1.4 (or 1.5) java |
69 |
> branch could be very bad idea. |
70 |
> |
71 |
> Summarizing: java bugs are always welcome (of course) but response might |
72 |
> be very slow or non-existant. |
73 |
> |
74 |
> After this, I have to say that last month i was playing with java trying |
75 |
> to make things work on alpha and i found same problem with __libc_wait. |
76 |
> |
77 |
> I found a patch (in some alpha related malling list) that works fine for |
78 |
> me, if you want give it a look: |
79 |
> |
80 |
> - 1. Download the patch |
81 |
> http://dev.gentoo.org/~yoswink/alpha/libcwait.c |
82 |
> |
83 |
> - 2. Place where you want, and compile it with: |
84 |
> gcc -shared -o libcwait.so libcwait.c -fpic -O |
85 |
> |
86 |
> - 3. Preload the patch writing at the beginning of |
87 |
> /opt/compaq-jdk/bin/java |
88 |
> LD_PRELOAD=/path-to-file/libcwait.so |
89 |
> export LD_PRELOAD |
90 |
> |
91 |
> I would appreciate a lot that you report the results, maybe we could |
92 |
> include it into the tree if it solves some of our problems. |
93 |
> |
94 |
> I hope back to have some free time for Gentoo at the end of this month to |
95 |
> continue playing with java and trying to get 1.4 branch in alpha. |
96 |
> |
97 |
> Bye and sorry again for the delay. |
98 |
> |
99 |
> -------------------------------- |
100 |
> YosWinK @ gentoo.org |
101 |
> Gentoo GDP |
102 |
> Gentoo Alpha Dev |
103 |
> |
104 |
> -- |
105 |
> gentoo-alpha@g.o mailing list |
106 |
> |
107 |
> |
108 |
|
109 |
-- |
110 |
gentoo-alpha@g.o mailing list |
111 |
|
112 |
|
113 |
-- |
114 |
gentoo-alpha@g.o mailing list |