<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://jogamp.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.2"
          urlbase="https://jogamp.org/bugzilla/"
          
          maintainer="sgothel@jausoft.com"
>

    <bug>
          <bug_id>1050</bug_id>
          
          <creation_ts>2014-08-22 11:58:17 +0200</creation_ts>
          <short_desc>32 bit compiling on macosx is broken</short_desc>
          <delta_ts>2019-03-29 17:54:45 +0100</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>General</product>
          <component>builds</component>
          <version>2.3.0</version>
          <rep_platform>pc_x86_32</rep_platform>
          <op_sys>macosx</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>---</priority>
          <bug_severity>blocker</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Matthias">haenel</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          
          
          <cf_type>---</cf_type>
          <cf_scm_refs></cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>4113</commentid>
    <comment_count>0</comment_count>
    <who name="Matthias">haenel</who>
    <bug_when>2014-08-22 11:58:17 +0200</bug_when>
    <thetext>32 bit compiling is not available on newer MacOSX SDK versions. Here you should use an older SDK at leat MACOSX10.6.sdk

CFLags would be -isysroot $(DEVELOPERDIR)/SDKs/MacOSX10.6sdk and LFLags should be -Wl,-syslibroot,$(DEVELOPERDIR)/SDKs/MacOSX10.6.sdk</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4200</commentid>
    <comment_count>1</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2014-09-08 05:27:52 +0200</bug_when>
    <thetext>ls /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/

MacOSX10.8.sdk  MacOSX10.9.sdk

So I have no SDK 10.6 installed :-/

Further we would need to inject this into our build system.

Q: Are there still 32bit OSX versions out there ?
Q: Are there even Java6 versions available ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4221</commentid>
    <comment_count>2</comment_count>
    <who name="Matthias">haenel</who>
    <bug_when>2014-09-08 09:25:37 +0200</bug_when>
    <thetext>Yes, you would need to add the 10.6 SDK manually. Here you can find it: https://github.com/phracker/MacOSX-SDKs/tree/master/

Q&apos;s:
1. Should there are tons of 32 bit software out there. Actually, the major reason is the lag of Quicktime for 64 bit so they are still using legacy mode. We&apos;ve ported to AVFoundation but I am sure that&apos;s true for all applications

2. Apple still provides Java6. From our point of view, Java7/8 is not usable until now since there are a lot of performance issues especially in terms of graphics.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4256</commentid>
    <comment_count>3</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2014-09-21 02:21:28 +0200</bug_when>
    <thetext>Thank you for the information.

(In reply to comment #2)
&gt; Yes, you would need to add the 10.6 SDK manually. Here you can find it:
&gt; https://github.com/phracker/MacOSX-SDKs/tree/master/


I have not seen a legal / license statement 
regarding above MacOSX-SDK git repo - where can I find such a statement?

Also, I don&apos;t know whether it is safe to download 
to be linked libs from an unknown source (blobs) ..

&gt; 
&gt; Q&apos;s:
&gt; 1. Should there are tons of 32 bit software out there. Actually, the major
&gt; reason is the lag of Quicktime for 64 bit so they are still using legacy
&gt; mode. We&apos;ve ported to AVFoundation but I am sure that&apos;s true for all
&gt; applications

OK.

&gt; 
&gt; 2. Apple still provides Java6. From our point of view, Java7/8 is not usable
&gt; until now since there are a lot of performance issues especially in terms of
&gt; graphics.

Where can I find java6 for OSX ?
Seems like I need that as well ..

If all is provided in a legal and &apos;safe&apos; way
I will re-enable the support.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4259</commentid>
    <comment_count>4</comment_count>
    <who name="Matthias">haenel</who>
    <bug_when>2014-09-22 10:10:35 +0200</bug_when>
    <thetext>you can download the Java devloper package from the apple dev pages:
https://developer.apple.com/downloads/index.action

You can download XCode 4.0.2 from the developer pages as well. There you should find the MacOSX 10.6 sdk.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4318</commentid>
    <comment_count>5</comment_count>
      <attachid>653</attachid>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2014-10-01 20:36:42 +0200</bug_when>
    <thetext>Created attachment 653
osx-extract-sdk-xcode41.txt</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4319</commentid>
    <comment_count>6</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2014-10-01 20:41:18 +0200</bug_when>
    <thetext>(In reply to comment #5)
&gt; Created attachment 653 [details]
&gt; osx-extract-sdk-xcode41.txt

Ok, I did my little adventure
  - downloading xcode 4.1 and extract the SDK 10.6 (see attachment)

  - downloading java6 (see note in attachment)

Now I figured, w/ xcode 6.0.1 using java6 (which provides 32bit binaries)
we already can build 32bit binaries.
Hence xcode 4.1 is not needed.

However, if using a different SDK w/ xcode.clang compilation,
one would only need to set SDKROOT, e.g.:
  export SDKROOT=macosx10.6
which is being picked up by xcrun, 
which we utilize via xcode.clang (default on OSX now). 

I will re-enable Java6 node and use the binaries (32- and 64bit)
of this machine w/o any changes to our source repo.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4320</commentid>
    <comment_count>7</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2014-10-01 20:43:27 +0200</bug_when>
    <thetext>Moved to General_Core/builds, 
since only a change on the build machine is required.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4321</commentid>
    <comment_count>8</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2014-10-01 21:15:45 +0200</bug_when>
    <thetext>(In reply to comment #7)
&gt; Moved to General_Core/builds, 
&gt; since only a change on the build machine is required.

After installing Java6 (java_for_os_x_2013005_dp__11m4609.dmg)
the Java6 default location was broken.

I had to fix this manually:

cd /System/Library/Frameworks/JavaVM.framework/
rm CurrentJDK ; ln -s /Library/Java/JavaVirtualMachines/1.6.0_65-b14-462.jdk/Contents CurrentJDK</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4323</commentid>
    <comment_count>9</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2014-10-01 23:44:33 +0200</bug_when>
    <thetext>OSX machine is set</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>653</attachid>
            <date>2014-10-01 20:36:42 +0200</date>
            <delta_ts>2014-10-01 20:36:42 +0200</delta_ts>
            <desc>osx-extract-sdk-xcode41.txt</desc>
            <filename>osx-extract-sdk-xcode41.txt</filename>
            <type>text/plain</type>
            <size>1319</size>
            <attacher name="Sven Gothel">sgothel</attacher>
            
              <data encoding="base64">IwojIERvd25sb2FkIGluc3RhbGx4Y29kZV80MV9saW9uLmRtZyBmcm9tIGh0dHBzOi8vZGV2ZWxv
cGVyLmFwcGxlLmNvbS9kb3dubG9hZHMvaW5kZXguYWN0aW9uIwojCm1rZGlyIC1wIC9EZXZlbG9w
ZXIvU0RLc19NYW51YWwvTWFjT1NYLnBsYXRmb3JtL0RldmVsb3Blci9TREtzCgpwa2d1dGlsIC0t
ZXhwYW5kIC9Wb2x1bWVzL0luc3RhbGxcIFhjb2RlL0luc3RhbGxYY29kZUxpb24ucGtnIH4veGNv
ZGU0MQpjZCB+L3hjb2RlNDEvCm12IEluc3RhbGxYY29kZUxpb24ucGtnL1BheWxvYWQgUGF5bG9h
ZC5negpndW56aXAgUGF5bG9hZC5neiAKbWtkaXIgUGF5bG9hZC5kCmNkIFBheWxvYWQuZApjcGlv
IC1pdiA8IC4uL1BheWxvYWQKcGtndXRpbCAtLWV4cGFuZCBBcHBsaWNhdGlvbnM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