You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by "Mark Hindess (JIRA)" <ji...@apache.org> on 2006/02/22 21:07:38 UTC

[jira] Created: (HARMONY-120) -lhycommon is listed twice in linux luni link command

-lhycommon is listed twice in linux luni link command
-----------------------------------------------------

         Key: HARMONY-120
         URL: http://issues.apache.org/jira/browse/HARMONY-120
     Project: Harmony
        Type: Improvement
  Components: Classlib  
    Reporter: Mark Hindess
    Priority: Trivial


If we were happy assuming GNU make we could avoid inconsistency errors like this by deriving the -l options from the library dependency list  with something like:

MDLLIBFILES = \
        ../lib/libhycommon.a ../libhysig.so ../lib/libhyzip.a ../libhyzlib.so \
        ../lib/libhypool.a ../lib/libhyfdlibm.a ../libhythr.so ../libvmi.so

LIBS = $(subst ../lib,-l,$(subst ../lib/lib,-l,$(basename $(MDLLIBFILES))))

Patch to remove the duplication is trivial so I wont bother to attach it - just delete the second -lhycommon line.


-- 
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] Assigned: (HARMONY-120) -lhycommon is listed twice in linux luni link command

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

Tim Ellison reassigned HARMONY-120:
-----------------------------------

    Assign To: Tim Ellison

> -lhycommon is listed twice in linux luni link command
> -----------------------------------------------------
>
>          Key: HARMONY-120
>          URL: http://issues.apache.org/jira/browse/HARMONY-120
>      Project: Harmony
>         Type: Improvement
>   Components: Classlib
>     Reporter: Mark Hindess
>     Assignee: Tim Ellison
>     Priority: Trivial

>
> If we were happy assuming GNU make we could avoid inconsistency errors like this by deriving the -l options from the library dependency list  with something like:
> MDLLIBFILES = \
>         ../lib/libhycommon.a ../libhysig.so ../lib/libhyzip.a ../libhyzlib.so \
>         ../lib/libhypool.a ../lib/libhyfdlibm.a ../libhythr.so ../libvmi.so
> LIBS = $(subst ../lib,-l,$(subst ../lib/lib,-l,$(basename $(MDLLIBFILES))))
> Patch to remove the duplication is trivial so I wont bother to attach it - just delete the second -lhycommon line.

-- 
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] Resolved: (HARMONY-120) -lhycommon is listed twice in linux luni link command

Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-120?page=all ]
     
Tim Ellison resolved HARMONY-120:
---------------------------------

    Resolution: Fixed

Mark,

Fixed in linux.IA32/luni/makefile at repo revision 380846.

How many times can you say 'linux luni link command'?

> -lhycommon is listed twice in linux luni link command
> -----------------------------------------------------
>
>          Key: HARMONY-120
>          URL: http://issues.apache.org/jira/browse/HARMONY-120
>      Project: Harmony
>         Type: Improvement
>   Components: Classlib
>     Reporter: Mark Hindess
>     Assignee: Tim Ellison
>     Priority: Trivial

>
> If we were happy assuming GNU make we could avoid inconsistency errors like this by deriving the -l options from the library dependency list  with something like:
> MDLLIBFILES = \
>         ../lib/libhycommon.a ../libhysig.so ../lib/libhyzip.a ../libhyzlib.so \
>         ../lib/libhypool.a ../lib/libhyfdlibm.a ../libhythr.so ../libvmi.so
> LIBS = $(subst ../lib,-l,$(subst ../lib/lib,-l,$(basename $(MDLLIBFILES))))
> Patch to remove the duplication is trivial so I wont bother to attach it - just delete the second -lhycommon line.

-- 
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