public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/108092] New: libstdc++ and all other gcc libraries installed incorrectly installed $PREFIX/lib32 for crossback compilation
@ 2022-12-14  6:16 unlvsur at live dot com
  2022-12-14  6:21 ` [Bug bootstrap/108092] " pinskia at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: unlvsur at live dot com @ 2022-12-14  6:16 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108092

            Bug ID: 108092
           Summary: libstdc++ and all other gcc libraries installed
                    incorrectly installed $PREFIX/lib32 for crossback
                    compilation
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: unlvsur at live dot com
  Target Milestone: ---

I do crossback compilation. The problem is that 32-bit libraries libstdc++ and
other libraries will install in $PREFIX/$TARGET/lib32 for x86_64-Linux-gnu
target. However, GCC does not try to find libraries in $PREFIX/$TARGET/lib32
with -m32. They should be installed in $PREFIX/$TARGET/lib instead of
$PREFIX/$TARGET/lib32

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug bootstrap/108092] libstdc++ and all other gcc libraries installed incorrectly installed $PREFIX/lib32 for crossback compilation
  2022-12-14  6:16 [Bug libstdc++/108092] New: libstdc++ and all other gcc libraries installed incorrectly installed $PREFIX/lib32 for crossback compilation unlvsur at live dot com
@ 2022-12-14  6:21 ` pinskia at gcc dot gnu.org
  2022-12-14  8:40 ` rguenth at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-12-14  6:21 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108092

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|libstdc++                   |bootstrap

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Why do you not use a sysroot?

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug bootstrap/108092] libstdc++ and all other gcc libraries installed incorrectly installed $PREFIX/lib32 for crossback compilation
  2022-12-14  6:16 [Bug libstdc++/108092] New: libstdc++ and all other gcc libraries installed incorrectly installed $PREFIX/lib32 for crossback compilation unlvsur at live dot com
  2022-12-14  6:21 ` [Bug bootstrap/108092] " pinskia at gcc dot gnu.org
@ 2022-12-14  8:40 ` rguenth at gcc dot gnu.org
  2022-12-14  9:44 ` unlvsur at live dot com
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-12-14  8:40 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108092

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |build

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Please specify exactly how you configure the cross compiler from
x86_64-w64-mingw32 to x86_64-w64-mingw32

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug bootstrap/108092] libstdc++ and all other gcc libraries installed incorrectly installed $PREFIX/lib32 for crossback compilation
  2022-12-14  6:16 [Bug libstdc++/108092] New: libstdc++ and all other gcc libraries installed incorrectly installed $PREFIX/lib32 for crossback compilation unlvsur at live dot com
  2022-12-14  6:21 ` [Bug bootstrap/108092] " pinskia at gcc dot gnu.org
  2022-12-14  8:40 ` rguenth at gcc dot gnu.org
@ 2022-12-14  9:44 ` unlvsur at live dot com
  2022-12-14  9:45 ` unlvsur at live dot com
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: unlvsur at live dot com @ 2022-12-14  9:44 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108092

--- Comment #3 from cqwrteur <unlvsur at live dot com> ---
Created attachment 54086
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54086&action=edit
here is my build script

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug bootstrap/108092] libstdc++ and all other gcc libraries installed incorrectly installed $PREFIX/lib32 for crossback compilation
  2022-12-14  6:16 [Bug libstdc++/108092] New: libstdc++ and all other gcc libraries installed incorrectly installed $PREFIX/lib32 for crossback compilation unlvsur at live dot com
                   ` (2 preceding siblings ...)
  2022-12-14  9:44 ` unlvsur at live dot com
@ 2022-12-14  9:45 ` unlvsur at live dot com
  2022-12-14  9:46 ` unlvsur at live dot com
  2022-12-14  9:54 ` unlvsur at live dot com
  5 siblings, 0 replies; 7+ messages in thread
From: unlvsur at live dot com @ 2022-12-14  9:45 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108092

--- Comment #4 from cqwrteur <unlvsur at live dot com> ---
(In reply to Richard Biener from comment #2)
> Please specify exactly how you configure the cross compiler from
> x86_64-w64-mingw32 to x86_64-w64-mingw32

from x86_64-pc-linux-gnu to x86_64-w64-mingw32 to x86_64-pc-linux-gnu

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug bootstrap/108092] libstdc++ and all other gcc libraries installed incorrectly installed $PREFIX/lib32 for crossback compilation
  2022-12-14  6:16 [Bug libstdc++/108092] New: libstdc++ and all other gcc libraries installed incorrectly installed $PREFIX/lib32 for crossback compilation unlvsur at live dot com
                   ` (3 preceding siblings ...)
  2022-12-14  9:45 ` unlvsur at live dot com
@ 2022-12-14  9:46 ` unlvsur at live dot com
  2022-12-14  9:54 ` unlvsur at live dot com
  5 siblings, 0 replies; 7+ messages in thread
From: unlvsur at live dot com @ 2022-12-14  9:46 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108092

--- Comment #5 from cqwrteur <unlvsur at live dot com> ---
Created attachment 54087
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54087&action=edit
no it should be this one

crossback sh

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug bootstrap/108092] libstdc++ and all other gcc libraries installed incorrectly installed $PREFIX/lib32 for crossback compilation
  2022-12-14  6:16 [Bug libstdc++/108092] New: libstdc++ and all other gcc libraries installed incorrectly installed $PREFIX/lib32 for crossback compilation unlvsur at live dot com
                   ` (4 preceding siblings ...)
  2022-12-14  9:46 ` unlvsur at live dot com
@ 2022-12-14  9:54 ` unlvsur at live dot com
  5 siblings, 0 replies; 7+ messages in thread
From: unlvsur at live dot com @ 2022-12-14  9:54 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108092

--- Comment #6 from cqwrteur <unlvsur at live dot com> ---
(In reply to Andrew Pinski from comment #1)
> Why do you not use a sysroot?

sysroot messed up even worse for crossback compilation

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-12-14  9:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-14  6:16 [Bug libstdc++/108092] New: libstdc++ and all other gcc libraries installed incorrectly installed $PREFIX/lib32 for crossback compilation unlvsur at live dot com
2022-12-14  6:21 ` [Bug bootstrap/108092] " pinskia at gcc dot gnu.org
2022-12-14  8:40 ` rguenth at gcc dot gnu.org
2022-12-14  9:44 ` unlvsur at live dot com
2022-12-14  9:45 ` unlvsur at live dot com
2022-12-14  9:46 ` unlvsur at live dot com
2022-12-14  9:54 ` unlvsur at live dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).