Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 215902 - gdb does not compile on solaris pc
Summary: gdb does not compile on solaris pc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Other (show other bugs)
Hardware: AMD64 Solaris
: High enhancement (vote)
Assignee: Gentoo non-Linux Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-02 16:26 UTC by Fabrice Bacchella
Modified: 2008-04-02 17:51 UTC (History)
0 users

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


Attachments
an ebuild that apply the patch (gdb-6.8-r1.ebuild,2.17 KB, text/plain)
2008-04-02 16:27 UTC, Fabrice Bacchella
Details
Patch to gdb to make it recognise x86_64-pc-solaris2.10 (gdb-solaris64.patch,1.35 KB, patch)
2008-04-02 16:28 UTC, Fabrice Bacchella
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fabrice Bacchella 2008-04-02 16:26:30 UTC
gdb does not know the platform x86_64-pc-solaris2.10. I made a patch to solve that.
Comment 1 Fabrice Bacchella 2008-04-02 16:27:59 UTC
Created attachment 148104 [details]
an ebuild that apply the patch

Needed to apply the new patch
Comment 2 Fabrice Bacchella 2008-04-02 16:28:50 UTC
Created attachment 148105 [details, diff]
Patch to gdb to make it recognise x86_64-pc-solaris2.10
Comment 3 Fabian Groffen gentoo-dev 2008-04-02 16:30:19 UTC
cool, I'll add that one (nicely in line with binutils and gcc patches).

Did you report this one upstream?
Comment 4 Fabrice Bacchella 2008-04-02 16:45:08 UTC
No, because the problem arises because gentoo specifies the host (x86_64...). Launched standalone, gdb detect that solaris 10 on a pc is 64bits. So I think they will not correct that.
Comment 5 Fabian Groffen gentoo-dev 2008-04-02 17:03:34 UTC
weird.  Solaris is multilib by default, but the sparcv9 target is in the configure.tgt as well.
Comment 6 Fabian Groffen gentoo-dev 2008-04-02 17:51:14 UTC
Added to the tree, thanks!