* [Bug libgcc/103677] cross compile apple darwin from linux. cannot compute suffix of object files
2021-12-13 0:11 [Bug libgcc/103677] New: cross compile apple darwin from linux. cannot compute suffix of object files unlvsur at live dot com
@ 2021-12-13 0:14 ` unlvsur at live dot com
2021-12-13 0:15 ` unlvsur at live dot com
` (11 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: unlvsur at live dot com @ 2021-12-13 0:14 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103677
--- Comment #1 from cqwrteur <unlvsur at live dot com> ---
Created attachment 51983
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51983&action=edit
config.log
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libgcc/103677] cross compile apple darwin from linux. cannot compute suffix of object files
2021-12-13 0:11 [Bug libgcc/103677] New: cross compile apple darwin from linux. cannot compute suffix of object files unlvsur at live dot com
2021-12-13 0:14 ` [Bug libgcc/103677] " unlvsur at live dot com
@ 2021-12-13 0:15 ` unlvsur at live dot com
2021-12-13 0:15 ` unlvsur at live dot com
` (10 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: unlvsur at live dot com @ 2021-12-13 0:15 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103677
--- Comment #2 from cqwrteur <unlvsur at live dot com> ---
Created attachment 51984
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51984&action=edit
error
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libgcc/103677] cross compile apple darwin from linux. cannot compute suffix of object files
2021-12-13 0:11 [Bug libgcc/103677] New: cross compile apple darwin from linux. cannot compute suffix of object files unlvsur at live dot com
2021-12-13 0:14 ` [Bug libgcc/103677] " unlvsur at live dot com
2021-12-13 0:15 ` unlvsur at live dot com
@ 2021-12-13 0:15 ` unlvsur at live dot com
2021-12-13 0:19 ` pinskia at gcc dot gnu.org
` (9 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: unlvsur at live dot com @ 2021-12-13 0:15 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103677
--- Comment #3 from cqwrteur <unlvsur at live dot com> ---
Created attachment 51985
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51985&action=edit
config.log
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libgcc/103677] cross compile apple darwin from linux. cannot compute suffix of object files
2021-12-13 0:11 [Bug libgcc/103677] New: cross compile apple darwin from linux. cannot compute suffix of object files unlvsur at live dot com
` (2 preceding siblings ...)
2021-12-13 0:15 ` unlvsur at live dot com
@ 2021-12-13 0:19 ` pinskia at gcc dot gnu.org
2021-12-13 0:50 ` unlvsur at live dot com
` (8 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-13 0:19 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103677
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|UNCONFIRMED |RESOLVED
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
configure:13965: checking for as
configure:13998: result: no
configure:14076: checking for x86_64-apple-darwin20.6.0-as
configure:14106: result: no
...
configure:14425: checking for dsymutil
configure:14458: result: no
configure:14536: checking for x86_64-apple-darwin20.6.0-dsymutil
configure:14566: result: no
configure:14655: checking for ld
configure:14688: result: no
configure:14766: checking for x86_64-apple-darwin20.6.0-ld
configure:14796: result: no
configure:14885: checking for lipo
configure:14918: result: no
configure:14996: checking for x86_64-apple-darwin20.6.0-lipo
configure:15026: result: no
...
configure:15805: checking for otool
configure:15838: result: no
configure:15916: checking for x86_64-apple-darwin20.6.0-otool
configure:15946: result: no
Darwin's as is special, in that it is the one from LLVM.
Darwin's ld (and dsymutl, lipo, and otool) is from cctools but you don't have
that installed either.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libgcc/103677] cross compile apple darwin from linux. cannot compute suffix of object files
2021-12-13 0:11 [Bug libgcc/103677] New: cross compile apple darwin from linux. cannot compute suffix of object files unlvsur at live dot com
` (3 preceding siblings ...)
2021-12-13 0:19 ` pinskia at gcc dot gnu.org
@ 2021-12-13 0:50 ` unlvsur at live dot com
2021-12-13 0:53 ` unlvsur at live dot com
` (7 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: unlvsur at live dot com @ 2021-12-13 0:50 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103677
--- Comment #5 from cqwrteur <unlvsur at live dot com> ---
(In reply to Andrew Pinski from comment #4)
> configure:13965: checking for as
> configure:13998: result: no
> configure:14076: checking for x86_64-apple-darwin20.6.0-as
> configure:14106: result: no
> ...
>
> configure:14425: checking for dsymutil
> configure:14458: result: no
> configure:14536: checking for x86_64-apple-darwin20.6.0-dsymutil
> configure:14566: result: no
> configure:14655: checking for ld
> configure:14688: result: no
> configure:14766: checking for x86_64-apple-darwin20.6.0-ld
> configure:14796: result: no
> configure:14885: checking for lipo
> configure:14918: result: no
> configure:14996: checking for x86_64-apple-darwin20.6.0-lipo
> configure:15026: result: no
> ...
> configure:15805: checking for otool
> configure:15838: result: no
> configure:15916: checking for x86_64-apple-darwin20.6.0-otool
> configure:15946: result: no
>
>
> Darwin's as is special, in that it is the one from LLVM.
> Darwin's ld (and dsymutl, lipo, and otool) is from cctools but you don't
> have that installed either.
wait. I do have that install from llvm. how do i use that?
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libgcc/103677] cross compile apple darwin from linux. cannot compute suffix of object files
2021-12-13 0:11 [Bug libgcc/103677] New: cross compile apple darwin from linux. cannot compute suffix of object files unlvsur at live dot com
` (4 preceding siblings ...)
2021-12-13 0:50 ` unlvsur at live dot com
@ 2021-12-13 0:53 ` unlvsur at live dot com
2021-12-13 1:00 ` unlvsur at live dot com
` (6 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: unlvsur at live dot com @ 2021-12-13 0:53 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103677
--- Comment #6 from cqwrteur <unlvsur at live dot com> ---
(In reply to Andrew Pinski from comment #4)
> configure:13965: checking for as
> configure:13998: result: no
> configure:14076: checking for x86_64-apple-darwin20.6.0-as
> configure:14106: result: no
> ...
>
> configure:14425: checking for dsymutil
> configure:14458: result: no
> configure:14536: checking for x86_64-apple-darwin20.6.0-dsymutil
> configure:14566: result: no
> configure:14655: checking for ld
> configure:14688: result: no
> configure:14766: checking for x86_64-apple-darwin20.6.0-ld
> configure:14796: result: no
> configure:14885: checking for lipo
> configure:14918: result: no
> configure:14996: checking for x86_64-apple-darwin20.6.0-lipo
> configure:15026: result: no
> ...
> configure:15805: checking for otool
> configure:15838: result: no
> configure:15916: checking for x86_64-apple-darwin20.6.0-otool
> configure:15946: result: no
>
>
> Darwin's as is special, in that it is the one from LLVM.
> Darwin's ld (and dsymutl, lipo, and otool) is from cctools but you don't
> have that installed either.
cqwrteur@Home-Server:~/myhome/gcc_build/cross/x86_64-apple-darwin/gcc$ which
dsymutil
/usr/local/bin/dsymutil
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libgcc/103677] cross compile apple darwin from linux. cannot compute suffix of object files
2021-12-13 0:11 [Bug libgcc/103677] New: cross compile apple darwin from linux. cannot compute suffix of object files unlvsur at live dot com
` (5 preceding siblings ...)
2021-12-13 0:53 ` unlvsur at live dot com
@ 2021-12-13 1:00 ` unlvsur at live dot com
2021-12-13 1:25 ` unlvsur at live dot com
` (5 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: unlvsur at live dot com @ 2021-12-13 1:00 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103677
--- Comment #7 from cqwrteur <unlvsur at live dot com> ---
(In reply to Andrew Pinski from comment #4)
> configure:13965: checking for as
> configure:13998: result: no
> configure:14076: checking for x86_64-apple-darwin20.6.0-as
> configure:14106: result: no
> ...
>
> configure:14425: checking for dsymutil
> configure:14458: result: no
> configure:14536: checking for x86_64-apple-darwin20.6.0-dsymutil
> configure:14566: result: no
> configure:14655: checking for ld
> configure:14688: result: no
> configure:14766: checking for x86_64-apple-darwin20.6.0-ld
> configure:14796: result: no
> configure:14885: checking for lipo
> configure:14918: result: no
> configure:14996: checking for x86_64-apple-darwin20.6.0-lipo
> configure:15026: result: no
> ...
> configure:15805: checking for otool
> configure:15838: result: no
> configure:15916: checking for x86_64-apple-darwin20.6.0-otool
> configure:15946: result: no
>
>
> Darwin's as is special, in that it is the one from LLVM.
> Darwin's ld (and dsymutl, lipo, and otool) is from cctools but you don't
> have that installed either.
cqwrteur@Home-Server:~/cross/x86_64-apple-darwin/bin$ ln -s
/usr/local/bin/dsymutil x86_64-apple-darwin-dsymutil
cqwrteur@Home-Server:~/cross/x86_64-apple-darwin/bin$ ls -l
total 8404
-rwxr-xr-x 1 cqwrteur cqwrteur 558880 Dec 12 19:39
x86_64-apple-darwin-addr2line
-rwxr-xr-x 2 cqwrteur cqwrteur 591488 Dec 12 19:39 x86_64-apple-darwin-ar
lrwxrwxrwx 1 cqwrteur cqwrteur 22 Dec 12 19:56 x86_64-apple-darwin-as ->
/usr/local/bin/llvm-as
-rwxr-xr-x 1 cqwrteur cqwrteur 554240 Dec 12 19:39 x86_64-apple-darwin-c++filt
lrwxrwxrwx 1 cqwrteur cqwrteur 23 Dec 12 19:58
x86_64-apple-darwin-dsymutil -> /usr/local/bin/dsymutil
-rwxr-xr-x 1 cqwrteur cqwrteur 39720 Dec 12 19:39 x86_64-apple-darwin-elfedit
lrwxrwxrwx 1 cqwrteur cqwrteur 21 Dec 12 19:56 x86_64-apple-darwin-ld ->
/usr/local/bin/ld.lld
lrwxrwxrwx 1 cqwrteur cqwrteur 24 Dec 12 19:57 x86_64-apple-darwin-lipo ->
/usr/local/bin/llvm-lipo
-rwxr-xr-x 2 cqwrteur cqwrteur 576120 Dec 12 19:39 x86_64-apple-darwin-nm
-rwxr-xr-x 2 cqwrteur cqwrteur 702072 Dec 12 19:39 x86_64-apple-darwin-objcopy
-rwxr-xr-x 2 cqwrteur cqwrteur 2180408 Dec 12 19:39 x86_64-apple-darwin-objdump
lrwxrwxrwx 1 cqwrteur cqwrteur 25 Dec 12 19:57 x86_64-apple-darwin-otool
-> /usr/local/bin/llvm-otool
-rwxr-xr-x 2 cqwrteur cqwrteur 591488 Dec 12 19:39 x86_64-apple-darwin-ranlib
-rwxr-xr-x 2 cqwrteur cqwrteur 961216 Dec 12 19:39 x86_64-apple-darwin-readelf
-rwxr-xr-x 1 cqwrteur cqwrteur 558616 Dec 12 19:39 x86_64-apple-darwin-size
-rwxr-xr-x 1 cqwrteur cqwrteur 562880 Dec 12 19:39 x86_64-apple-darwin-strings
-rwxr-xr-x 2 cqwrteur cqwrteur 702072 Dec 12 19:39 x86_64-apple-darwin-strip
I just manually set symlink to llvm in the sysroot/bin. Would that work?
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libgcc/103677] cross compile apple darwin from linux. cannot compute suffix of object files
2021-12-13 0:11 [Bug libgcc/103677] New: cross compile apple darwin from linux. cannot compute suffix of object files unlvsur at live dot com
` (6 preceding siblings ...)
2021-12-13 1:00 ` unlvsur at live dot com
@ 2021-12-13 1:25 ` unlvsur at live dot com
2021-12-13 1:25 ` unlvsur at live dot com
` (4 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: unlvsur at live dot com @ 2021-12-13 1:25 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103677
--- Comment #8 from cqwrteur <unlvsur at live dot com> ---
Created attachment 51986
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51986&action=edit
new config.log
Still does not work
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libgcc/103677] cross compile apple darwin from linux. cannot compute suffix of object files
2021-12-13 0:11 [Bug libgcc/103677] New: cross compile apple darwin from linux. cannot compute suffix of object files unlvsur at live dot com
` (7 preceding siblings ...)
2021-12-13 1:25 ` unlvsur at live dot com
@ 2021-12-13 1:25 ` unlvsur at live dot com
2021-12-13 1:25 ` unlvsur at live dot com
` (3 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: unlvsur at live dot com @ 2021-12-13 1:25 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103677
--- Comment #9 from cqwrteur <unlvsur at live dot com> ---
Created attachment 51987
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51987&action=edit
status
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libgcc/103677] cross compile apple darwin from linux. cannot compute suffix of object files
2021-12-13 0:11 [Bug libgcc/103677] New: cross compile apple darwin from linux. cannot compute suffix of object files unlvsur at live dot com
` (8 preceding siblings ...)
2021-12-13 1:25 ` unlvsur at live dot com
@ 2021-12-13 1:25 ` unlvsur at live dot com
2021-12-13 1:30 ` [Bug bootstrap/103677] " pinskia at gcc dot gnu.org
` (2 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: unlvsur at live dot com @ 2021-12-13 1:25 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103677
cqwrteur <unlvsur at live dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|INVALID |---
Status|RESOLVED |UNCONFIRMED
--- Comment #10 from cqwrteur <unlvsur at live dot com> ---
(In reply to Andrew Pinski from comment #4)
> configure:13965: checking for as
> configure:13998: result: no
> configure:14076: checking for x86_64-apple-darwin20.6.0-as
> configure:14106: result: no
> ...
>
> configure:14425: checking for dsymutil
> configure:14458: result: no
> configure:14536: checking for x86_64-apple-darwin20.6.0-dsymutil
> configure:14566: result: no
> configure:14655: checking for ld
> configure:14688: result: no
> configure:14766: checking for x86_64-apple-darwin20.6.0-ld
> configure:14796: result: no
> configure:14885: checking for lipo
> configure:14918: result: no
> configure:14996: checking for x86_64-apple-darwin20.6.0-lipo
> configure:15026: result: no
> ...
> configure:15805: checking for otool
> configure:15838: result: no
> configure:15916: checking for x86_64-apple-darwin20.6.0-otool
> configure:15946: result: no
>
>
> Darwin's as is special, in that it is the one from LLVM.
> Darwin's ld (and dsymutl, lipo, and otool) is from cctools but you don't
> have that installed either.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug bootstrap/103677] cross compile apple darwin from linux. cannot compute suffix of object files
2021-12-13 0:11 [Bug libgcc/103677] New: cross compile apple darwin from linux. cannot compute suffix of object files unlvsur at live dot com
` (9 preceding siblings ...)
2021-12-13 1:25 ` unlvsur at live dot com
@ 2021-12-13 1:30 ` pinskia at gcc dot gnu.org
2021-12-13 1:32 ` pinskia at gcc dot gnu.org
2021-12-14 18:42 ` egallager at gcc dot gnu.org
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-13 1:30 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103677
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|libgcc |bootstrap
--- Comment #11 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Cross compiling to darwin is going to be hard these days.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug bootstrap/103677] cross compile apple darwin from linux. cannot compute suffix of object files
2021-12-13 0:11 [Bug libgcc/103677] New: cross compile apple darwin from linux. cannot compute suffix of object files unlvsur at live dot com
` (10 preceding siblings ...)
2021-12-13 1:30 ` [Bug bootstrap/103677] " pinskia at gcc dot gnu.org
@ 2021-12-13 1:32 ` pinskia at gcc dot gnu.org
2021-12-14 18:42 ` egallager at gcc dot gnu.org
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-13 1:32 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103677
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #12 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
You don't have the sysroot setup or anything.
Cross compiling to darwin is not for the faint of heart and really this is not
the place to get help doing it.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug bootstrap/103677] cross compile apple darwin from linux. cannot compute suffix of object files
2021-12-13 0:11 [Bug libgcc/103677] New: cross compile apple darwin from linux. cannot compute suffix of object files unlvsur at live dot com
` (11 preceding siblings ...)
2021-12-13 1:32 ` pinskia at gcc dot gnu.org
@ 2021-12-14 18:42 ` egallager at gcc dot gnu.org
12 siblings, 0 replies; 14+ messages in thread
From: egallager at gcc dot gnu.org @ 2021-12-14 18:42 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103677
Eric Gallager <egallager at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=50229
CC| |egallager at gcc dot gnu.org
--- Comment #13 from Eric Gallager <egallager at gcc dot gnu.org> ---
See also bug 50229
^ permalink raw reply [flat|nested] 14+ messages in thread