Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 454170

Summary: dev-libs/icu shared library libicudata.so not recognized by ld-linux on arm hardfloat
Product: Gentoo Linux Reporter: Benda Xu <heroxbd>
Component: Current packagesAssignee: Gentoo Office Team <office>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=653457
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: icu-50.1.1.patch
icu-50-icudata_stdlibs.patch

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.