[cross] cross-gcc-4.4 package should provide $triplet-gcc, g++ etc. symlinks

Bug #600927 reported by Loïc Minier on 2010-07-02
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gcc-4.4 (Ubuntu)
High
Marcin Juszkiewicz

Bug Description

Binary package hint: gcc-4.4

Hi there

I tested gcc-4.4-arm-linux-gnueabi 4.4.4-6ubuntu5~ppa2 and it has no $triplet-gcc symlink.

In the past, emdebian style cross-compiler packages had -gcc symlinks.

I think there are two needs for the cross-packages:
a) take this gcc-ish package and give me a fully functional cross-compiler from it (runtime libs, -gcc and stuff)
b) take all these gcc-4.x source packages from Ubuntu and make them cross-compiler packages has to have the same set in cross-compilers as Ubuntu has

a) is basically "standalone"
b) is rather "use the same approach as Ubuntu"
b), we'd need a gcc-defaults package to be consistent

It's not urgent to support the b) case, but we need some package providing $triplet-gcc for the cross-compiler packages to be useful.

Thanks,

Loïc Minier (lool) on 2010-07-02
Changed in gcc-4.4 (Ubuntu):
assignee: nobody → Marcin Juszkiewicz (hrw)
importance: Undecided → High
summary: - [cross] No $triplet-gcc symlink
+ [cross] cross-gcc-4.4 package should provide $triplet-gcc, g++ etc.
+ symlinks
Loïc Minier (lool) wrote :

Let's keep this bug to track a), as to restore prior functionality (emdebian-style packages used to provide the symlink along the cross-binary).

Marcin Juszkiewicz (hrw) wrote :

Attached patch solves problem.

Build of 4.5.0-7ubuntu1hrw1 is in progress.

tags: added: patch
Marcin Juszkiewicz (hrw) wrote :

root@home:/etc/apt/sources.list.d# update-alternatives --list arm-linux-gnueabi-gcov
/usr/bin/arm-linux-gnueabi-gcov-4.4
/usr/bin/arm-linux-gnueabi-gcov-4.5
root@home:/etc/apt/sources.list.d# update-alternatives --list arm-linux-gnueabi-g++
/usr/bin/arm-linux-gnueabi-g++-4.4
/usr/bin/arm-linux-gnueabi-g++-4.5
root@home:/etc/apt/sources.list.d# update-alternatives --list arm-linux-gnueabi-gcc
/usr/bin/arm-linux-gnueabi-gcc-4.4
/usr/bin/arm-linux-gnueabi-gcc-4.5

Changes will be released with next Debian/Ubuntu gcc-4.4/4.5 releases.

Matthias Klose (doko) on 2010-07-10
Changed in gcc-4.4 (Ubuntu):
status: New → Fix Committed
Marcin Juszkiewicz (hrw) wrote :

gcc-4.4 4.4.4-7ubuntu1 and gcc-4.5 4.5.0-8ubuntu1 releases fixed this issue. Can we close the bug?

Loïc Minier (lool) wrote :

Sure, I think we have another bug for the -defaults stuff.

Marcin Juszkiewicz (hrw) on 2010-07-22
Changed in gcc-4.4 (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related blueprints