Bug 1822 - frysk-core/frysk/proc/LinuxProc does not compile with new ecj version
Summary: frysk-core/frysk/proc/LinuxProc does not compile with new ecj version
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Andrew Cagney
URL:
Keywords:
: 1821 (view as bug list)
Depends on: 1821
Blocks: 1582 1824
  Show dependency treegraph
 
Reported: 2005-11-07 14:51 UTC by Adam Jocksch
Modified: 2006-11-21 16:34 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments
Simple auxv patch (ecj 3.1) (317 bytes, patch)
2005-11-07 17:44 UTC, Phil Muldoon
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Jocksch 2005-11-07 14:51:36 UTC
 
Comment 1 Adam Jocksch 2005-11-07 14:52:21 UTC
When compiling frysk with the new ecj version (which is in FC4 now) you get the
following message:

----------
1. WARNING in
/home/ajocksch/frysk-bin/frysk-core/../../frysk/frysk-core/frysk/proc/LinuxProc.java
 (at line 74)
        private Auxv[] auxv;
                       ^^^^
The field LinuxProc.auxv is never read locally
----------
Comment 2 Adam Jocksch 2005-11-07 15:01:28 UTC
*** Bug 1821 has been marked as a duplicate of this bug. ***
Comment 3 Phil Muldoon 2005-11-07 17:44:37 UTC
Created attachment 747 [details]
Simple auxv patch (ecj 3.1)
Comment 4 Phil Muldoon 2005-11-07 17:45:50 UTC
Commenting out the auxv statement seems to work (without looking further down
for runtime dependencies ;)

Comment 5 Andrew Cagney 2005-11-07 18:14:35 UTC
Index: frysk-core/frysk/proc/ChangeLog
2005-11-07  Andrew Cagney  <cagney@redhat.com>

        * LinuxProc.java: Delete unused .auxv.