Bug 29817 - x86_64-w64-mingw32 target does not install gdb any more
Summary: x86_64-w64-mingw32 target does not install gdb any more
Status: RESOLVED FIXED
Alias: None
Product: gdb
Classification: Unclassified
Component: build (show other bugs)
Version: unknown
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-21 19:43 UTC by cqwrteur
Modified: 2023-01-31 21:01 UTC (History)
4 users (show)

See Also:
Host: x86_64-linux-gnu, x86_64-w64-mingw32
Target: x86_64-w64-mingw32
Build: x86_64-linux-gnu
Last reconfirmed: 2022-12-01 00:00:00


Attachments
attachment-753901-0.html (913 bytes, text/html)
2022-12-10 03:56 UTC, cqwrteur
Details
my build script. (1.23 KB, text/x-sh)
2023-01-29 03:47 UTC, cqwrteur
Details
attachment-913320-0.html (907 bytes, text/html)
2023-01-31 21:01 UTC, cqwrteur
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cqwrteur 2022-11-21 19:43:18 UTC
binutils-gdb does not build gdb anymore for the x86_64-w64-mingw32 host
Comment 1 Simon Marchi 2022-11-21 21:46:34 UTC
Can you please give more details?  What is the build platform, configure line, error you get, etc?
Comment 2 Tom Tromey 2022-12-01 21:25:49 UTC
Waiting for response.
Comment 3 cqwrteur 2022-12-09 04:01:34 UTC
(In reply to Tom Tromey from comment #2)
> Waiting for response.

x86_64-w64-mingw32 target

I find that even cross toolchain no longer installs x86_64-w64-mingw32-gdb; even gdb is built. However, They are not installed.
Comment 4 Tom Tromey 2022-12-10 02:11:57 UTC
(In reply to cqwrteur from comment #3)
> (In reply to Tom Tromey from comment #2)
> > Waiting for response.
> 
> x86_64-w64-mingw32 target
> 
> I find that even cross toolchain no longer installs x86_64-w64-mingw32-gdb;
> even gdb is built. However, They are not installed.

We need more details to understand what's wrong.
Like, what did you try?  How did you configure / make / etc?
What did actually happen?
FWIW this works fine for me.
Comment 5 cqwrteur 2022-12-10 03:56:45 UTC
Created attachment 14489 [details]
attachment-753901-0.html

just try target x86 64 w64 mingw32. gdb won't be installed

Get Outlook for Android<https://aka.ms/AAb9ysg>
________________________________
From: tromey at sourceware dot org <sourceware-bugzilla@sourceware.org>
Sent: Friday, December 9, 2022 9:11:57 PM
To: euloanty@live.com <euloanty@live.com>
Subject: [Bug build/29817] x86_64-w64-mingw32 target does not install gdb any more

https://sourceware.org/bugzilla/show_bug.cgi?id=29817

--- Comment #4 from Tom Tromey <tromey at sourceware dot org> ---
(In reply to cqwrteur from comment #3)
> (In reply to Tom Tromey from comment #2)
> > Waiting for response.
>
> x86_64-w64-mingw32 target
>
> I find that even cross toolchain no longer installs x86_64-w64-mingw32-gdb;
> even gdb is built. However, They are not installed.

We need more details to understand what's wrong.
Like, what did you try?  How did you configure / make / etc?
What did actually happen?
FWIW this works fine for me.

--
You are receiving this mail because:
You reported the bug.
You are on the CC list for the bug.
Comment 6 cqwrteur 2023-01-29 03:47:18 UTC
Created attachment 14638 [details]
my build script.

You can check my build script and then tell me what craziness I did.
Comment 7 Hannes Domani 2023-01-29 12:57:18 UTC
You use `make install-strip` as your install command, and that was broken for a while.
See [1] where it was fixed on Mon, 19 Dec 2022.

[1] https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=a61ce0ce48c6353058f1b2214b0725f618ae7132
Comment 8 cqwrteur 2023-01-31 21:01:46 UTC
Created attachment 14645 [details]
attachment-913320-0.html

this has nothing to do with make install-strip

Get Outlook for Android<https://aka.ms/AAb9ysg>
________________________________
From: ssbssa at sourceware dot org <sourceware-bugzilla@sourceware.org>
Sent: Sunday, January 29, 2023 7:57:18 AM
To: euloanty@live.com <euloanty@live.com>
Subject: [Bug build/29817] x86_64-w64-mingw32 target does not install gdb any more

https://sourceware.org/bugzilla/show_bug.cgi?id=29817

Hannes Domani <ssbssa at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ssbssa at sourceware dot org

--- Comment #7 from Hannes Domani <ssbssa at sourceware dot org> ---
You use `make install-strip` as your install command, and that was broken for a
while.
See [1] where it was fixed on Mon, 19 Dec 2022.

[1]
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=a61ce0ce48c6353058f1b2214b0725f618ae7132

--
You are receiving this mail because:
You reported the bug.
You are on the CC list for the bug.