Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 275863 - app-text/acroread-9.1.2 fails if gcc-3.4.6 is selected
Summary: app-text/acroread-9.1.2 fails if gcc-3.4.6 is selected
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-29 19:35 UTC by Thomas Heinz
Modified: 2009-08-31 13:39 UTC (History)
3 users (show)

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


Attachments
LD_PRELOAD patch for /opt/bin/acroread (acroread.patch,646 bytes, patch)
2009-08-06 12:09 UTC, Thomas Heinz
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Heinz 2009-06-29 19:35:07 UTC
If gcc-3.4.6 is selected (gcc-config), acroread fails with:
/opt/Adobe/Reader9/Reader/intellinux/bin/acroread: /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so.6: version `GLIBCXX_3.4.5' not found (required by /opt/Adobe/Reader9/Reader/intellinux/bin/acroread)
/opt/Adobe/Reader9/Reader/intellinux/bin/acroread: /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so.6: version `CXXABI_1.3.1' not found (required by /opt/Adobe/Reader9/Reader/intellinux/bin/acroread)
/opt/Adobe/Reader9/Reader/intellinux/bin/acroread: /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so.6: version `CXXABI_1.3.1' not found (required by /opt/Adobe/Reader9/Reader/intellinux/lib/libAGM.so)
/opt/Adobe/Reader9/Reader/intellinux/bin/acroread: /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so.6: version `CXXABI_1.3.1' not found (required by /opt/Adobe/Reader9/Reader/intellinux/lib/libCoolType.so)

This can be fixed by:
LD_PRELOAD=/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libstdc++.so acroread
or adjusting the script /opt/bin/acroread accordingly.

Since acroread is not only used as standalone application but also as browser plugin, this hack spreads.

Do you consider this a bug or is gcc-3.4 abandoned?
It's still used on hardened AFAIK (although this acroread version might not be supported there).

Reproducible: Always

Steps to Reproduce:
Comment 1 zoum 2009-08-06 08:38:24 UTC
(In reply to comment #0)
> If gcc-3.4.6 is selected (gcc-config), acroread fails with:
> /opt/Adobe/Reader9/Reader/intellinux/bin/acroread:
> /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so.6: version `GLIBCXX_3.4.5'
> not found (required by /opt/Adobe/Reader9/Reader/intellinux/bin/acroread)
> /opt/Adobe/Reader9/Reader/intellinux/bin/acroread:
> /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so.6: version `CXXABI_1.3.1' not
> found (required by /opt/Adobe/Reader9/Reader/intellinux/bin/acroread)
> /opt/Adobe/Reader9/Reader/intellinux/bin/acroread:
> /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so.6: version `CXXABI_1.3.1' not
> found (required by /opt/Adobe/Reader9/Reader/intellinux/lib/libAGM.so)
> /opt/Adobe/Reader9/Reader/intellinux/bin/acroread:
> /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so.6: version `CXXABI_1.3.1' not
> found (required by /opt/Adobe/Reader9/Reader/intellinux/lib/libCoolType.so)
> 
> This can be fixed by:
> LD_PRELOAD=/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libstdc++.so acroread
> or adjusting the script /opt/bin/acroread accordingly.
> 
> Since acroread is not only used as standalone application but also as browser
> plugin, this hack spreads.
> 
> Do you consider this a bug or is gcc-3.4 abandoned?
> It's still used on hardened AFAIK (although this acroread version might not be
> supported there).
> 
> Reproducible: Always
> 
> Steps to Reproduce:
> 

I ve just met this trouble. I try to solve it by replacing LD_PRELOAD value in /opt/bin/acroread but it doesn't work. Can you explain in detail the way to solve it

Thnaks
Comment 2 Thomas Heinz 2009-08-06 12:09:04 UTC
Created attachment 200373 [details, diff]
LD_PRELOAD patch for /opt/bin/acroread
Comment 3 Thomas Heinz 2009-08-06 12:11:41 UTC
You can try the patch above: patch /opt/bin/acroread < acroread.patch
Comment 4 Patrick Lauer gentoo-dev 2009-08-19 18:03:06 UTC
Since we're now up to gcc 4.3 I'd consider this bug invalid. Use that patch if you really have to use gcc 3 :)
Comment 5 Jacek 2009-08-20 21:28:39 UTC
We are not up to gcc 4.x.
According to /usr/portage/profiles/hardened/package.mask:

# Hardened versions of gcc-4.0* through gcc-4.2* are not available.
=sys-devel/gcc-4.0*
=sys-devel/gcc-4.1*
=sys-devel/gcc-4.2*

# Mask non-hardened+non-testing gcc-4.3.x releases.
=sys-devel/gcc-4.3.2*

So please fix acroread or test and mark stable gcc 4.x for x86 and amd64.
Comment 6 Maarten 2009-08-31 12:35:40 UTC
(In reply to comment #3)
> You can try the patch above: patch /opt/bin/acroread < acroread.patch

Provided patch does not work [for me]:


thoughtpad bin # patch acroread < acroread.patch
patching file acroread
Hunk #1 succeeded at 558 (offset -66 lines).

thoughtpad ~ $ acroread
ERROR: Cannot find installation directory.

app-text/acroread 9.1.3
CHOST="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
gcc (GCC) 3.4.6 (Gentoo 3.4.6-r2 p1.6, ssp-3.4.6-1.0, pie-8.7.10)
Comment 7 Maarten 2009-08-31 13:39:09 UTC
(In reply to comment #6)
> (In reply to comment #3)
> > You can try the patch above: patch /opt/bin/acroread < acroread.patch
> 
> Provided patch does not work [for me]:

Oops. My own mistake. Please disregard or delete my previous post above...
I got mixed up in real files versus symlinks...