Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 219951 - GCC with gcj use flag has incorrect paths for certain gcj-dependent .la files
Summary: GCC with gcj use flag has incorrect paths for certain gcj-dependent .la files
Status: RESOLVED DUPLICATE of bug 125728
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
: 232316 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-05-01 17:44 UTC by Andrew Udvare
Modified: 2008-08-27 16:34 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
lib-org-w3c-dom.la patch for AMD64 (lib-org-w3c-dom.patch,1.06 KB, patch)
2008-05-01 17:49 UTC, Andrew Udvare
Details | Diff
lib-org-xml-sax.la patch for AMD64 only (lib-org-xml-sax.patch,1.06 KB, patch)
2008-05-01 17:51 UTC, Andrew Udvare
Details | Diff
libgcjawt.la patch for AMD64 only (libgcjawt.patch,2.85 KB, patch)
2008-05-01 17:52 UTC, Andrew Udvare
Details | Diff
libgij.la patch for AMD64 only (libgij.patch,1.02 KB, patch)
2008-05-01 17:53 UTC, Andrew Udvare
Details | Diff
libgij.la patch for AMD64 only (libgij.patch,1.02 KB, patch)
2008-05-01 17:53 UTC, Andrew Udvare
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Udvare 2008-05-01 17:44:05 UTC
gcc-3.4.6: lib-org-w3c-dom.la, lib-org-xml-sax.la point to /usr/lib/../lib64/libgcj.la instead of /usr/lib/gcc/<platform>/3.4.6/libgcj.la

gcc-4.1.2: libgcjawt.la, libgij.la point to /usr/lib/../lib64/libgcj.la instead of /usr/lib/gcc/<platform>/4.1.2/libgcj.la

Reproducible: Always

Steps to Reproduce:
1. USE="gcj" emerge gcc gentoolkit
2. revdep-rebuild

Actual Results:  
Checking dynamic linking consistency...
  broken /usr/lib64/gcc/x86_64-pc-linux-gnu/3.4.6/lib-org-w3c-dom.la (requires /usr/lib/../lib64/libgcj.la)
  broken /usr/lib64/gcc/x86_64-pc-linux-gnu/3.4.6/lib-org-xml-sax.la (requires /usr/lib/../lib64/libgcj.la)
  broken /usr/lib64/gcc/x86_64-pc-linux-gnu/4.1.2/libgcjawt.la (requires /usr/lib/../lib64/lib-gnu-java-awt-peer-gtk.la)
  broken /usr/lib64/gcc/x86_64-pc-linux-gnu/4.1.2/libgij.la (requires /usr/lib/../lib64/libgcj.la)
  broken /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/lib-org-w3c-dom.la (requires /usr/lib/../lib64/libgcj.la)
  broken /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/lib-org-xml-sax.la (requires /usr/lib/../lib64/libgcj.la)
  broken /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/libgcjawt.la (requires /usr/lib/../lib64/lib-gnu-java-awt-peer-gtk.la)
  broken /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/libgij.la (requires /usr/lib/../lib64/libgcj.la)
 done.
  (/root/.revdep-rebuild.3_rebuild)

Expected Results:  
Should be no dependency issues.

The way to fix is to modify the 4 .la files to use the full-path, such as /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/ instead of /usr/lib/../lib64/ (AMD64 case).
Comment 1 Andrew Udvare 2008-05-01 17:49:39 UTC
Created attachment 151545 [details, diff]
lib-org-w3c-dom.la patch for AMD64
Comment 2 Andrew Udvare 2008-05-01 17:51:05 UTC
Created attachment 151547 [details, diff]
lib-org-xml-sax.la patch for AMD64 only
Comment 3 Andrew Udvare 2008-05-01 17:52:36 UTC
Created attachment 151548 [details, diff]
libgcjawt.la patch for AMD64 only
Comment 4 Andrew Udvare 2008-05-01 17:53:19 UTC
Created attachment 151549 [details, diff]
libgij.la patch for AMD64 only
Comment 5 Andrew Udvare 2008-05-01 17:53:48 UTC
Created attachment 151551 [details, diff]
libgij.la patch for AMD64 only
Comment 6 Francisco Ares 2008-06-27 03:16:14 UTC
same problem here, on an i686, but all files and links are using full path:

# revdep-rebuild -p
...
Checking dynamic linking consistency...
  broken /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcjawt.la (requires /usr/lib/lib-gnu-java-awt-peer-gtk.la)
  broken /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgij.la (requires /usr/lib/libgcj.la)
 done.
  (/root/.revdep-rebuild.3_rebuild)
...

is this reaay a Gentoo bug or a GCC bug?
Comment 7 Carsten Lohrke (RETIRED) gentoo-dev 2008-07-19 12:49:18 UTC
*** Bug 232316 has been marked as a duplicate of this bug. ***
Comment 8 Alexandre Hannud Abdo 2008-07-25 03:04:13 UTC
Ni!

This is a duplicate of #125728 .

I can't mark it as such, so if I'm right I suggest someone does that.

But don't expect a fix, this has been around since 2006, produced over 100 comments, over 100 votes, and an acceptable solution is yet to be presented.

As I understand, what would be acceptable is to have the files created with the correct paths, not fixing the paths later.

~~
Comment 9 Carsten Lohrke (RETIRED) gentoo-dev 2008-08-27 16:34:14 UTC

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