You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Gregory Shimansky (JIRA)" <ji...@apache.org> on 2006/11/14 14:08:43 UTC

[jira] Created: (HARMONY-2185) [classlib] Build on x86_64 fails because of assembly code

[classlib] Build on x86_64 fails because of assembly code
---------------------------------------------------------

                 Key: HARMONY-2185
                 URL: http://issues.apache.org/jira/browse/HARMONY-2185
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
            Reporter: Gregory Shimansky


The following error is printed by the linker when building classlib on x86_64.

     [exec] -Xlinker --start-group /nfs/ims/proj/drl/mrt1/users/gregory/em64t/classlib/trunk/deploy/lib/libhypool.a /nfs/ims/proj/drl/mrt1/users/gregory/em64t/classlib/trunk/deploy/lib/libhycommon.a -Xlinker --end-group \
     [exec] -lc -lm -ldl 
     [exec] /usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: x86_64/thrspinlock.o: relocation R_X86_64_PC32 against `hythread_yield' can not be used when making a shared object; recompile with -fPIC
     [exec] /usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: final link failed: Bad value
     [exec] collect2: ld returned 1 exit status


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HARMONY-2185) [classlib] Build on x86_64 fails because of assembly code

Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2185?page=all ]

Gregory Shimansky updated HARMONY-2185:
---------------------------------------

    Attachment: harmony-2185.patch

The fix for assembly code patch. It makes call position independent. Compilation woks now.

> [classlib] Build on x86_64 fails because of assembly code
> ---------------------------------------------------------
>
>                 Key: HARMONY-2185
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2185
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Gregory Shimansky
>         Attachments: harmony-2185.patch
>
>
> The following error is printed by the linker when building classlib on x86_64.
>      [exec] -Xlinker --start-group /nfs/ims/proj/drl/mrt1/users/gregory/em64t/classlib/trunk/deploy/lib/libhypool.a /nfs/ims/proj/drl/mrt1/users/gregory/em64t/classlib/trunk/deploy/lib/libhycommon.a -Xlinker --end-group \
>      [exec] -lc -lm -ldl 
>      [exec] /usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: x86_64/thrspinlock.o: relocation R_X86_64_PC32 against `hythread_yield' can not be used when making a shared object; recompile with -fPIC
>      [exec] /usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: final link failed: Bad value
>      [exec] collect2: ld returned 1 exit status

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (HARMONY-2185) [classlib] Build on x86_64 fails because of assembly code

Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2185?page=all ]

Gregory Shimansky closed HARMONY-2185.
--------------------------------------

    Resolution: Fixed

Patch committed.

> [classlib] Build on x86_64 fails because of assembly code
> ---------------------------------------------------------
>
>                 Key: HARMONY-2185
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2185
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Gregory Shimansky
>         Attachments: harmony-2185.patch
>
>
> The following error is printed by the linker when building classlib on x86_64.
>      [exec] -Xlinker --start-group /nfs/ims/proj/drl/mrt1/users/gregory/em64t/classlib/trunk/deploy/lib/libhypool.a /nfs/ims/proj/drl/mrt1/users/gregory/em64t/classlib/trunk/deploy/lib/libhycommon.a -Xlinker --end-group \
>      [exec] -lc -lm -ldl 
>      [exec] /usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: x86_64/thrspinlock.o: relocation R_X86_64_PC32 against `hythread_yield' can not be used when making a shared object; recompile with -fPIC
>      [exec] /usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: final link failed: Bad value
>      [exec] collect2: ld returned 1 exit status

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira