public inbox for frysk@sourceware.org
 help / color / mirror / Atom feed
* 32- and 64-bit versions coexistence
@ 2006-10-17 16:05 Stepan Kasal
  2006-10-17 16:36 ` Andrew Cagney
  0 siblings, 1 reply; 2+ messages in thread
From: Stepan Kasal @ 2006-10-17 16:05 UTC (permalink / raw)
  To: frysk

Hello!

  I installed both i686 and x86_64 rpm's on a x86_64 machine, and
the jars were conflicting.  For example, Build.class and Config.class
are platform dependent.
  See below for a full lists of conflicting classes.

I'd welcome an advice how this should be solved.  Should these
classes be eliminated to a separate jar which would live under
/usr/lib{,64}  ?

Stepan Kasal

--- frysk-core.i386.lst	2006-10-17 16:12:29.000000000 +0200
+++ frysk-core.x86_64.lst	2006-10-17 16:12:56.000000000 +0200
@@ -52 +52 @@
-     498  Defl:X      328  34%  10-17-06 05:01  717751aa  frysk/core/Build.class
+     500  Defl:X      331  34%  10-17-06 05:01  295f9d79  frysk/core/Build.class
@@ -316 +316 @@
-    2333  Defl:X     1210  48%  10-17-06 05:01  c8da1389  frysk/proc/StressAttachDetachManyTasks.class
+    2334  Defl:X     1211  48%  10-17-06 05:01  2043367f  frysk/proc/StressAttachDetachManyTasks.class
@@ -320 +320 @@
-    2793  Defl:X     1413  49%  10-17-06 05:01  0653cd17  frysk/proc/StressAttachDetachRapidlyCloningMainTask.class
+    2794  Defl:X     1414  49%  10-17-06 05:01  6031b482  frysk/proc/StressAttachDetachRapidlyCloningMainTask.class
@@ -455 +455 @@
-    3369  Defl:X     1594  53%  10-17-06 05:01  cbadef66  frysk/proc/TestRegMemModify$TestPPC64ModifyInternals$PPC64TaskEventObserver.class
+    3370  Defl:X     1594  53%  10-17-06 05:01  f866197d  frysk/proc/TestRegMemModify$TestPPC64ModifyInternals$PPC64TaskEventObserver.class
@@ -459 +459 @@
-    3655  Defl:X     1753  52%  10-17-06 05:01  e2a68c93  frysk/proc/TestRegMemModify$TestX8664ModifyInternals$X8664TaskEventObserver.class
+    3656  Defl:X     1753  52%  10-17-06 05:01  d7a9cd1c  frysk/proc/TestRegMemModify$TestX8664ModifyInternals$X8664TaskEventObserver.class
@@ -463 +463 @@
-    2427  Defl:X     1187  51%  10-17-06 05:01  0b94c3d7  frysk/proc/TestRegs$TestI386RegsInternals$I386TaskEventObserver.class
+    2428  Defl:X     1188  51%  10-17-06 05:01  5fd0baa6  frysk/proc/TestRegs$TestI386RegsInternals$I386TaskEventObserver.class
@@ -466 +466 @@
-    2784  Defl:X     1345  52%  10-17-06 05:01  cb89d8bf  frysk/proc/TestRegs$TestPPC64RegsInternals$PPC64TaskEventObserver.class
+    2785  Defl:X     1348  52%  10-17-06 05:01  bfb02909  frysk/proc/TestRegs$TestPPC64RegsInternals$PPC64TaskEventObserver.class
@@ -468 +468 @@
-    2537  Defl:X     1227  52%  10-17-06 05:01  ce92a56b  frysk/proc/TestRegs$TestX8664RegsInternals$LongTaskEventObserver.class
+    2538  Defl:X     1230  52%  10-17-06 05:01  aaa133fe  frysk/proc/TestRegs$TestX8664RegsInternals$LongTaskEventObserver.class
@@ -472 +472 @@
-    4313  Defl:X     2231  48%  10-17-06 05:01  a11244da  frysk/proc/TestRegs.class
+    4314  Defl:X     2232  48%  10-17-06 05:01  2158fd69  frysk/proc/TestRegs.class
--- frysk-gui.i386.lst	2006-10-17 16:12:29.000000000 +0200
+++ frysk-gui.x86_64.lst	2006-10-17 16:12:56.000000000 +0200
@@ -6 +6 @@
-     495  Defl:X      329  34%  10-17-06 05:01  a9c6f8ef  frysk/gui/Build.class
+     497  Defl:X      332  33%  10-17-06 05:01  bef84d2d  frysk/gui/Build.class
--- frysk-imports.i386.lst	2006-10-17 16:12:29.000000000 +0200
+++ frysk-imports.x86_64.lst	2006-10-17 16:12:56.000000000 +0200
@@ -5 +5 @@
-    1553  Defl:X      849  45%  10-17-06 05:01  33af63af  frysk/Config.class
+    1557  Defl:X      853  45%  10-17-06 05:01  9508c6cc  frysk/Config.class
@@ -8 +8 @@
-     507  Defl:X      334  34%  10-17-06 05:01  816d3aa3  frysk/imports/Build.class
+     509  Defl:X      336  34%  10-17-06 05:01  564ecdcd  frysk/imports/Build.class
@@ -18 +18 @@
-    8502  Defl:X     3791  55%  10-17-06 05:01  3d918603  frysk/junit/Runner.class
+    8491  Defl:X     3781  56%  10-17-06 05:01  6e8fa805  frysk/junit/Runner.class
--- frysk-sys.i386.lst	2006-10-17 16:12:29.000000000 +0200
+++ frysk-sys.x86_64.lst	2006-10-17 16:12:56.000000000 +0200
@@ -6 +6 @@
-     495  Defl:X      330  33%  10-17-06 05:01  4f6cf59c  frysk/sys/Build.class
+     497  Defl:X      332  33%  10-17-06 05:01  0cc42c5e  frysk/sys/Build.class
@@ -28 +28 @@
-    7612  Defl:X     3621  52%  10-17-06 05:01  4a3877c2  frysk/sys/Sig.class
+    7612  Defl:X     3620  52%  10-17-06 05:01  bd59b275  frysk/sys/Sig.class
@@ -33 +33 @@
-   29192  Defl:X    10444  64%  10-17-06 05:01  5ddde0c0  frysk/sys/SyscallNum.class
+   25220  Defl:X     9033  64%  10-17-06 05:01  f541d2d3  frysk/sys/SyscallNum.class

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

* Re: 32- and 64-bit versions coexistence
  2006-10-17 16:05 32- and 64-bit versions coexistence Stepan Kasal
@ 2006-10-17 16:36 ` Andrew Cagney
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Cagney @ 2006-10-17 16:36 UTC (permalink / raw)
  To: frysk

Hi Stepan,

Stepan Kasal wrote:
> Hello!
>
>   I installed both i686 and x86_64 rpm's on a x86_64 machine, and
> the jars were conflicting.  For example, Build.class and Config.class
> are platform dependent.
>   See below for a full lists of conflicting classes.
>
>   
Outch!  Good catch, nice work.

I suspect that the ISA specific stuff needs to be re-factored, so that 
the information is returned by native methods and not wired into the 
.java file.  Our short term fix is to preclude the .jar from the distro, 
since everything is being built native.

Andrew

> I'd welcome an advice how this should be solved.  Should these
> classes be eliminated to a separate jar which would live under
> /usr/lib{,64}  ?
>
> Stepan Kasal
>
> --- frysk-core.i386.lst	2006-10-17 16:12:29.000000000 +0200
> +++ frysk-core.x86_64.lst	2006-10-17 16:12:56.000000000 +0200
> @@ -52 +52 @@
> -     498  Defl:X      328  34%  10-17-06 05:01  717751aa  frysk/core/Build.class
> +     500  Defl:X      331  34%  10-17-06 05:01  295f9d79  frysk/core/Build.class
> @@ -316 +316 @@
> -    2333  Defl:X     1210  48%  10-17-06 05:01  c8da1389  frysk/proc/StressAttachDetachManyTasks.class
> +    2334  Defl:X     1211  48%  10-17-06 05:01  2043367f  frysk/proc/StressAttachDetachManyTasks.class
> @@ -320 +320 @@
> -    2793  Defl:X     1413  49%  10-17-06 05:01  0653cd17  frysk/proc/StressAttachDetachRapidlyCloningMainTask.class
> +    2794  Defl:X     1414  49%  10-17-06 05:01  6031b482  frysk/proc/StressAttachDetachRapidlyCloningMainTask.class
> @@ -455 +455 @@
> -    3369  Defl:X     1594  53%  10-17-06 05:01  cbadef66  frysk/proc/TestRegMemModify$TestPPC64ModifyInternals$PPC64TaskEventObserver.class
> +    3370  Defl:X     1594  53%  10-17-06 05:01  f866197d  frysk/proc/TestRegMemModify$TestPPC64ModifyInternals$PPC64TaskEventObserver.class
> @@ -459 +459 @@
> -    3655  Defl:X     1753  52%  10-17-06 05:01  e2a68c93  frysk/proc/TestRegMemModify$TestX8664ModifyInternals$X8664TaskEventObserver.class
> +    3656  Defl:X     1753  52%  10-17-06 05:01  d7a9cd1c  frysk/proc/TestRegMemModify$TestX8664ModifyInternals$X8664TaskEventObserver.class
> @@ -463 +463 @@
> -    2427  Defl:X     1187  51%  10-17-06 05:01  0b94c3d7  frysk/proc/TestRegs$TestI386RegsInternals$I386TaskEventObserver.class
> +    2428  Defl:X     1188  51%  10-17-06 05:01  5fd0baa6  frysk/proc/TestRegs$TestI386RegsInternals$I386TaskEventObserver.class
> @@ -466 +466 @@
> -    2784  Defl:X     1345  52%  10-17-06 05:01  cb89d8bf  frysk/proc/TestRegs$TestPPC64RegsInternals$PPC64TaskEventObserver.class
> +    2785  Defl:X     1348  52%  10-17-06 05:01  bfb02909  frysk/proc/TestRegs$TestPPC64RegsInternals$PPC64TaskEventObserver.class
> @@ -468 +468 @@
> -    2537  Defl:X     1227  52%  10-17-06 05:01  ce92a56b  frysk/proc/TestRegs$TestX8664RegsInternals$LongTaskEventObserver.class
> +    2538  Defl:X     1230  52%  10-17-06 05:01  aaa133fe  frysk/proc/TestRegs$TestX8664RegsInternals$LongTaskEventObserver.class
> @@ -472 +472 @@
> -    4313  Defl:X     2231  48%  10-17-06 05:01  a11244da  frysk/proc/TestRegs.class
> +    4314  Defl:X     2232  48%  10-17-06 05:01  2158fd69  frysk/proc/TestRegs.class
> --- frysk-gui.i386.lst	2006-10-17 16:12:29.000000000 +0200
> +++ frysk-gui.x86_64.lst	2006-10-17 16:12:56.000000000 +0200
> @@ -6 +6 @@
> -     495  Defl:X      329  34%  10-17-06 05:01  a9c6f8ef  frysk/gui/Build.class
> +     497  Defl:X      332  33%  10-17-06 05:01  bef84d2d  frysk/gui/Build.class
> --- frysk-imports.i386.lst	2006-10-17 16:12:29.000000000 +0200
> +++ frysk-imports.x86_64.lst	2006-10-17 16:12:56.000000000 +0200
> @@ -5 +5 @@
> -    1553  Defl:X      849  45%  10-17-06 05:01  33af63af  frysk/Config.class
> +    1557  Defl:X      853  45%  10-17-06 05:01  9508c6cc  frysk/Config.class
> @@ -8 +8 @@
> -     507  Defl:X      334  34%  10-17-06 05:01  816d3aa3  frysk/imports/Build.class
> +     509  Defl:X      336  34%  10-17-06 05:01  564ecdcd  frysk/imports/Build.class
> @@ -18 +18 @@
> -    8502  Defl:X     3791  55%  10-17-06 05:01  3d918603  frysk/junit/Runner.class
> +    8491  Defl:X     3781  56%  10-17-06 05:01  6e8fa805  frysk/junit/Runner.class
> --- frysk-sys.i386.lst	2006-10-17 16:12:29.000000000 +0200
> +++ frysk-sys.x86_64.lst	2006-10-17 16:12:56.000000000 +0200
> @@ -6 +6 @@
> -     495  Defl:X      330  33%  10-17-06 05:01  4f6cf59c  frysk/sys/Build.class
> +     497  Defl:X      332  33%  10-17-06 05:01  0cc42c5e  frysk/sys/Build.class
> @@ -28 +28 @@
> -    7612  Defl:X     3621  52%  10-17-06 05:01  4a3877c2  frysk/sys/Sig.class
> +    7612  Defl:X     3620  52%  10-17-06 05:01  bd59b275  frysk/sys/Sig.class
> @@ -33 +33 @@
> -   29192  Defl:X    10444  64%  10-17-06 05:01  5ddde0c0  frysk/sys/SyscallNum.class
> +   25220  Defl:X     9033  64%  10-17-06 05:01  f541d2d3  frysk/sys/SyscallNum.class
>   

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

end of thread, other threads:[~2006-10-17 16:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-17 16:05 32- and 64-bit versions coexistence Stepan Kasal
2006-10-17 16:36 ` Andrew Cagney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).