Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 454170 - dev-libs/icu shared library libicudata.so not recognized by ld-linux on arm hardfloat
Summary: dev-libs/icu shared library libicudata.so not recognized by ld-linux on arm h...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL: http://bugs.debian.org/cgi-bin/bugrep...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-26 14:33 UTC by Benda Xu
Modified: 2013-03-07 02:46 UTC (History)
0 users

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


Attachments
icu-50.1.1.patch (icu-50.1.1.patch,338 bytes, patch)
2013-01-26 14:35 UTC, Benda Xu
Details | Diff
icu-50-icudata_stdlibs.patch (icu-50-icudata_stdlibs.patch,647 bytes, patch)
2013-01-26 14:36 UTC, Benda Xu
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Benda Xu gentoo-dev 2013-01-26 14:33:13 UTC
As in debian bug 653457, libicudata.so does not link to anything, which confuses arm hardfloat run time linker.

A trick to deal with this is to link libicudata.so to libc.

Suggested patch is included for review. If there is not objection, I am going to apply the patch in a week. Thanks.

Reproducible: Always
Comment 1 Benda Xu gentoo-dev 2013-01-26 14:35:52 UTC
Created attachment 336908 [details, diff]
icu-50.1.1.patch
Comment 2 Benda Xu gentoo-dev 2013-01-26 14:36:21 UTC
Created attachment 336910 [details, diff]
icu-50-icudata_stdlibs.patch
Comment 3 Arfrever Frehtes Taifersar Arahesis 2013-01-26 17:31:26 UTC
(In reply to comment #0)
> libicudata.so does not link to anything, which
> confuses arm hardfloat run time linker.

You should fix arm hardfloat run time linker.

> A trick to deal with this is to link libicudata.so to libc.

libicudata.so does not use anything from libc.
Comment 4 Tomáš Chvátal (RETIRED) gentoo-dev 2013-02-08 09:56:04 UTC
This is actually fixed in main tree from what I can see in 50.1.* ebuilds.

    # Fix linking of icudata
    sed -i \
        -e "s:LDFLAGSICUDT=-nodefaultlibs -nostdlib:LDFLAGSICUDT=:" \
        config/mh-linux || die


Also please as you are developer, assign your bugs properly or wait for wranglers to do it for you.
Comment 5 Benda Xu gentoo-dev 2013-02-09 06:48:24 UTC
(In reply to comment #4)
> This is actually fixed in main tree from what I can see in 50.1.* ebuilds.
> 
>     # Fix linking of icudata
>     sed -i \
>         -e "s:LDFLAGSICUDT=-nodefaultlibs -nostdlib:LDFLAGSICUDT=:" \
>         config/mh-linux || die
> 
> 
> Also please as you are developer, assign your bugs properly or wait for
> wranglers to do it for you.

My fault. I have looked at the old ebuild and metadata in Prefix tree. This bug should be assigned to prefix team and especially me. I will come up with an up-to-date patch soon.
Comment 6 Benda Xu gentoo-dev 2013-03-07 02:46:44 UTC
Further work is tracked in bug 460632.