[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] Wrong architecture on Cocoa libswt-*.jnilib?


Scott,

I think I know what is going on. The .project file for the org.eclipse.swt.cocoa.macosx.x86_64 fragment had the wrong project name (check the changes a just made). When you checked that fragment out, eclipse must have named it "org.eclipse.swt.cocoa.macosx" instead of "org.eclipse.swt.macosx.cocoa.x86_64".  That is probably why you got confused thinking that the 32 bit fragment had 64 bit libraries.  I am sure not what you do different to checkout, since it does not happen for us.

Please delete the fragment and check it out again. It should all be fixed now.

Silenio


From: Felipe Heidrich/Ottawa/IBM@IBMCA
To: "Eclipse Platform SWT component developers list." <platform-swt-dev@xxxxxxxxxxx>
Date: 03/09/2010 04:46 PM
Subject: Re: [platform-swt-dev] Wrong architecture on Cocoa libswt-*.jnilib?
Sent by: platform-swt-dev-bounces@xxxxxxxxxxx





org.eclipse.swt.cocoa.macosx is right on my machine.

We only libraries that are wrong are in
org.eclipse.swt.cocoa.macosx.x86_64
Which you released today with the comment: Wrong architecture for
checked-in binaries: Should be i386,pcc, not x86_64

In the org.eclipse.swt.cocoa.macosx.x86_64 fragment, x86_64 is the right
architecture.


Scott, there must be something wrong with your machine or with the way you
are testing.
This is M6 week, a change like you did can break the build. Did you
release any other changes ?




From:
Scott Kovatch <skovatch.swt@xxxxxxxxx>
To:
"Eclipse Platform SWT component developers list."
<platform-swt-dev@xxxxxxxxxxx>
Date:
09/03/2010 04:14 PM
Subject:
Re: [platform-swt-dev] Wrong architecture on Cocoa libswt-*.jnilib?
Sent by:
platform-swt-dev-bounces@xxxxxxxxxxx



Not according to what's in HEAD:

[indians]~/src/swt-cocoa-workspace/org.eclipse.swt.cocoa.macosx% l
total 1176
drwxr-xr-x  13 skovatch  staff     442 Mar  9 12:31 ./
drwxr-xr-x  26 skovatch  staff     884 Mar  9 12:24 ../
-rwxr--r--   1 skovatch  staff     684 May 31  2009 .project*
drwxr-xr-x   6 skovatch  staff     204 May 31  2009 CVS/
drwxr-xr-x   4 skovatch  staff     136 May 31  2009 META-INF/
-rwxr--r--   1 skovatch  staff   10171 May 31  2009 about.html*
drwxr-xr-x   5 skovatch  staff     170 May 31  2009 about_files/
-rwxr--r--   1 skovatch  staff     544 May 31  2009 build.properties*
-rwxr--r--   1 skovatch  staff     472 Aug 24  2009 build.xml*
-rwxr--r--   1 skovatch  staff     617 May 31  2009 fragment.properties*
-rwx------   1 skovatch  staff    8416 Mar  5 06:49
libswt-awt-cocoa-3637.jnilib*
-rwx------   1 skovatch  staff  310392 Mar  5 06:49
libswt-cocoa-3637.jnilib*
-rwx------   1 skovatch  staff  249800 Mar  5 06:49
libswt-pi-cocoa-3637.jnilib*
[indians]~/src/swt-cocoa-workspace/org.eclipse.swt.cocoa.macosx% file
*.jnilib
libswt-awt-cocoa-3637.jnilib: Mach-O 64-bit bundle x86_64
libswt-cocoa-3637.jnilib:     Mach-O 64-bit bundle x86_64
libswt-pi-cocoa-3637.jnilib:  Mach-O 64-bit bundle x86_64

-- Scott

On Mar 9, 2010, at 1:09 PM, Felipe Heidrich wrote:

> Looks good to me:
> Felipe-Heidrichs-iMac:~ Felipe$ cd
> /Users/Felipe/Desktop/workspaceCocoa/org.eclipse.swt.cocoa.macosx
> Felipe-Heidrichs-iMac:org.eclipse.swt.cocoa.macosx Felipe$ ls
> CVS                                     fragment.properties
> META-INF                                libswt-awt-cocoa-3637.jnilib
> about.html                              libswt-cocoa-3637.jnilib
> about_files                             libswt-pi-cocoa-3637.jnilib
> build.properties libswt-xulrunner-cocoa-3637.jnilib
> build.xml
> Felipe-Heidrichs-iMac:org.eclipse.swt.cocoa.macosx Felipe$ file
> libswt-pi-cocoa-3637.jnilib
> libswt-pi-cocoa-3637.jnilib: Mach-O universal binary with 2
architectures
> libswt-pi-cocoa-3637.jnilib (for architecture i386):    Mach-O bundle
i386
> libswt-pi-cocoa-3637.jnilib (for architecture ppc7400): Mach-O bundle
ppc
> Felipe-Heidrichs-iMac:org.eclipse.swt.cocoa.macosx Felipe$ file
> libswt-cocoa-3637.jnilib
> libswt-cocoa-3637.jnilib: Mach-O universal binary with 2 architectures
> libswt-cocoa-3637.jnilib (for architecture i386):       Mach-O bundle
i386
> libswt-cocoa-3637.jnilib (for architecture ppc7400):    Mach-O bundle
ppc
> Felipe-Heidrichs-iMac:org.eclipse.swt.cocoa.macosx Felipe$ file
> libswt-awt-cocoa-3637.jnilib
> libswt-awt-cocoa-3637.jnilib: Mach-O universal binary with 2
architectures
> libswt-awt-cocoa-3637.jnilib (for architecture i386):   Mach-O bundle
i386
> libswt-awt-cocoa-3637.jnilib (for architecture ppc7400):        Mach-O
> bundle ppc
> Felipe-Heidrichs-iMac:org.eclipse.swt.cocoa.macosx Felipe$ file
> libswt-xulrunner-cocoa-3637.jnilib
> libswt-xulrunner-cocoa-3637.jnilib: Mach-O universal binary with 2
> architectures
> libswt-xulrunner-cocoa-3637.jnilib (for architecture i386):     Mach-O
> bundle i386
> libswt-xulrunner-cocoa-3637.jnilib (for architecture ppc7400):  Mach-O
> bundle ppc
> Felipe-Heidrichs-iMac:org.eclipse.swt.cocoa.macosx Felipe$
>
>
>
>
> From:
> Scott Kovatch <skovatch.swt@xxxxxxxxx>
> To:
> platform-swt-dev@xxxxxxxxxxx
> Date:
> 09/03/2010 03:42 PM
> Subject:
> [platform-swt-dev] Wrong architecture on Cocoa libswt-*.jnilib?
> Sent by:
> platform-swt-dev-bounces@xxxxxxxxxxx
>
>
>
> Hello,
>
> I'm getting my local workspace up to date and noticed that the jni
> libraries in org.eclipse.swt.cocoa.macosx are 64-bit only. Is this an
> oversight or on purpose?
>
> I can check in correct binaries but it's been a while since I've done
> anything here so I thought I'd make sure I'm not missing something new.
>
> -- Scott K.
>
> ------------------
> Scott Kovatch
> Pleasanton, CA
>
>
>
> _______________________________________________
> platform-swt-dev mailing list
> platform-swt-dev@xxxxxxxxxxx
>
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev
>
>
>
> _______________________________________________
> platform-swt-dev mailing list
> platform-swt-dev@xxxxxxxxxxx
>
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev

_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev



_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev