Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 241478 - gcj and gcjh symlinks are not created
Summary: gcj and gcjh symlinks are not created
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-11 22:56 UTC by Mike Slinn
Modified: 2009-07-03 23:34 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Slinn 2008-10-11 22:56:22 UTC
setting the gcj use flag with gcc v3.4.6 creates files called /usr/bin/{gcj-4.1.2,gcjh-4.1.2}.  Unfortunately, packages such as pdftk look for compiler drivers call gcj and gcjh. 

Reproducible: Always




Here is my workaround.  Do this after installing gcj:
sudo ln /usr/bin/{gcj-4.1.2,gcj}
sudo ln /usr/bin/{gcjh-4.1.2,gcjh}
Comment 1 Wormo (RETIRED) gentoo-dev 2008-10-13 01:31:31 UTC
It sounds like you needed to run 'gcc-config' after compiling your toolchain with gcj enabled; /usr/bin/gcj and /usr/bin/gcjh are supposed to be managed by gcc-config just like /usr/bin/gcc. Try deleting your manual symlinks and use gcc-config to select your new toolchain -- do gcj and gcjh get created? 
Comment 2 Paul de Vrieze (RETIRED) gentoo-dev 2008-10-14 18:51:17 UTC
Please follow Wormo's advice. In any case 3.4.6 should never create gcj-4.1.2 though (as that's a different version)
Comment 3 Mike Slinn 2008-12-20 00:44:25 UTC
Works!

Thanks,
Mike
Comment 4 Mark Loeser (RETIRED) gentoo-dev 2009-07-03 23:34:48 UTC
gcc-config just needed to be called.