public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/24289]  New: libjava fails to build if GNU make 3.81 betas are used (caused by feature addition, not bug, in 3.81beta --> will still happen with 3.81 final)
@ 2005-10-09 19:31 bero at arklinux dot org
  2005-10-09 19:33 ` [Bug libgcj/24289] " pinskia at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: bero at arklinux dot org @ 2005-10-09 19:31 UTC (permalink / raw)
  To: java-prs

The problem is this new feature in make:

* WARNING: Backward-incompatibility!
  GNU make now implements a generic "second expansion" feature on the
  prerequisites of both explicit and implicit (pattern) rules.  After
  all rules have been parsed the prerequisites are expanded again, this
  time with all the automatic variables in scope.  This means that in
  addition to using standard SysV $$@ in prerequisites lists, you can
  also use complex functions such as $$(notdir $$@) etc.  This behavior
  applies to implicit rules, as well, where the second expansion occurs
  after the rule is matched.  However, this means that you need to
  double-quote any "$" in your filenames; instead of "foo: boo$$bar" you
  now must write "foo: foo$$$$bar".


The presence of this feature can be detected using
ifneq (,$(filter second-expansion,$(.FEATURES)))

(not sure how compatible that is with non-GNU makes though)


-- 
           Summary: libjava fails to build if GNU make 3.81 betas are used
                    (caused by feature addition, not bug, in 3.81beta -->
                    will still happen with 3.81 final)
           Product: gcc
           Version: 4.0.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bero at arklinux dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24289


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

* [Bug libgcj/24289] libjava fails to build if GNU make 3.81 betas are used (caused by feature addition, not bug, in 3.81beta --> will still happen with 3.81 final)
  2005-10-09 19:31 [Bug libgcj/24289] New: libjava fails to build if GNU make 3.81 betas are used (caused by feature addition, not bug, in 3.81beta --> will still happen with 3.81 final) bero at arklinux dot org
@ 2005-10-09 19:33 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-09 19:33 UTC (permalink / raw)
  To: java-prs



------- Comment #1 from pinskia at gcc dot gnu dot org  2005-10-09 19:33 -------
This is a dup of bug 23292.

*** This bug has been marked as a duplicate of 23292 ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24289


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

end of thread, other threads:[~2005-10-09 19:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-09 19:31 [Bug libgcj/24289] New: libjava fails to build if GNU make 3.81 betas are used (caused by feature addition, not bug, in 3.81beta --> will still happen with 3.81 final) bero at arklinux dot org
2005-10-09 19:33 ` [Bug libgcj/24289] " pinskia at gcc dot gnu dot org

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