public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug go/113530] New: [14 Regression] libgo ftbfs on arc-linux-gnu
@ 2024-01-21 14:51 doko at gcc dot gnu.org
2024-01-21 14:52 ` [Bug go/113530] " doko at gcc dot gnu.org
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: doko at gcc dot gnu.org @ 2024-01-21 14:51 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113530
Bug ID: 113530
Summary: [14 Regression] libgo ftbfs on arc-linux-gnu
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: go
Assignee: ian at airs dot com
Reporter: doko at gcc dot gnu.org
Target Milestone: ---
seen with trunk 20240121 on arch-linux-gnu, works with the gcc-13 branch,
building a gccgo cross compiler targeting arc-linux-gnu:
[...]
libtool: compile:
/home/packages/cross/14/p/gcc-cross-ports/gcc/build/./gcc/gccgo -B/home/packa
ges/cross/14/p/gcc-cross-ports/gcc/build/./gcc/ -B/usr/arc-linux-gnu/bin/
-B/usr/arc-linux-gnu/l
ib/ -isystem /usr/arc-linux-gnu/include -isystem /usr/arc-linux-gnu/sys-include
-isystem /home/p
ackages/cross/14/p/gcc-cross-ports/gcc/build/sys-include -O2 -g -I . -c
-fgo-pkgpath=internal/go
arch ../../../src/libgo/go/internal/goarch/goarch.go zgoarch.go -fPIC -o
internal/.libs/goarch.
o
zgoarch.go:7:14: error: expected ';' or ')' or newline
7 | _BigEndian =
| ^
zgoarch.go:7:3: error: reference to undefined name '_BigEndian'
7 | _BigEndian =
| ^
../../../src/libgo/go/internal/goarch/goarch.go:18:19: error: reference to
undefined name '_BigE
ndian'
18 | const BigEndian = _BigEndian
| ^
../../../src/libgo/go/internal/goarch/goarch.go:21:29: error: reference to
undefined name '_Defa
ultPhysPageSize'
21 | const DefaultPhysPageSize = _DefaultPhysPageSize
| ^
../../../src/libgo/go/internal/goarch/goarch.go:25:19: error: reference to
undefined name '_PCQu
antum'
25 | const PCQuantum = _PCQuantum
| ^
../../../src/libgo/go/internal/goarch/goarch.go:28:20: error: reference to
undefined name '_Int6
4Align'
28 | const Int64Align = _Int64Align
| ^
../../../src/libgo/go/internal/goarch/goarch.go:35:22: error: reference to
undefined name '_MinF
rameSize'
35 | const MinFrameSize = _MinFrameSize
| ^
../../../src/libgo/go/internal/goarch/goarch.go:39:20: error: reference to
undefined name '_Stac
kAlign'
39 | const StackAlign = _StackAlign
| ^
make[7]: *** [Makefile:3059: internal/goarch.lo] Error 1
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug go/113530] [14 Regression] libgo ftbfs on arc-linux-gnu
2024-01-21 14:51 [Bug go/113530] New: [14 Regression] libgo ftbfs on arc-linux-gnu doko at gcc dot gnu.org
@ 2024-01-21 14:52 ` doko at gcc dot gnu.org
2024-01-21 16:44 ` doko at gcc dot gnu.org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: doko at gcc dot gnu.org @ 2024-01-21 14:52 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113530
--- Comment #1 from Matthias Klose <doko at gcc dot gnu.org> ---
sorry, arc-linux-gnu
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug go/113530] [14 Regression] libgo ftbfs on arc-linux-gnu
2024-01-21 14:51 [Bug go/113530] New: [14 Regression] libgo ftbfs on arc-linux-gnu doko at gcc dot gnu.org
2024-01-21 14:52 ` [Bug go/113530] " doko at gcc dot gnu.org
@ 2024-01-21 16:44 ` doko at gcc dot gnu.org
2024-01-21 17:03 ` danglin at gcc dot gnu.org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: doko at gcc dot gnu.org @ 2024-01-21 16:44 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113530
Matthias Klose <doko at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |danglin at gcc dot gnu.org
Target|arc-linux-gnu |arc-linux-gnu
| |hppa-linux-gnu
--- Comment #2 from Matthias Klose <doko at gcc dot gnu.org> ---
hppa-linux-gnu fails in the same way
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug go/113530] [14 Regression] libgo ftbfs on arc-linux-gnu
2024-01-21 14:51 [Bug go/113530] New: [14 Regression] libgo ftbfs on arc-linux-gnu doko at gcc dot gnu.org
2024-01-21 14:52 ` [Bug go/113530] " doko at gcc dot gnu.org
2024-01-21 16:44 ` doko at gcc dot gnu.org
@ 2024-01-21 17:03 ` danglin at gcc dot gnu.org
2024-01-21 18:02 ` danglin at gcc dot gnu.org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: danglin at gcc dot gnu.org @ 2024-01-21 17:03 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113530
--- Comment #3 from John David Anglin <danglin at gcc dot gnu.org> ---
Looks like a Makefile issue:
echo " _BigEndian = `$(SHELL) $(srcdir)/goarch.sh $(GOARCH)
bigendian`" >> zgoarch.go.tmp
At this time, hppa doesn't support go.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug go/113530] [14 Regression] libgo ftbfs on arc-linux-gnu
2024-01-21 14:51 [Bug go/113530] New: [14 Regression] libgo ftbfs on arc-linux-gnu doko at gcc dot gnu.org
` (2 preceding siblings ...)
2024-01-21 17:03 ` danglin at gcc dot gnu.org
@ 2024-01-21 18:02 ` danglin at gcc dot gnu.org
2024-01-22 3:49 ` [Bug go/113530] " ian at airs dot com
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: danglin at gcc dot gnu.org @ 2024-01-21 18:02 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113530
--- Comment #4 from John David Anglin <danglin at gcc dot gnu.org> ---
Created attachment 57181
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57181&action=edit
Add defines for hppa and hppa64 to goarch.sh
Untested.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug go/113530] libgo ftbfs on arc-linux-gnu
2024-01-21 14:51 [Bug go/113530] New: [14 Regression] libgo ftbfs on arc-linux-gnu doko at gcc dot gnu.org
` (3 preceding siblings ...)
2024-01-21 18:02 ` danglin at gcc dot gnu.org
@ 2024-01-22 3:49 ` ian at airs dot com
2024-01-22 6:54 ` doko at gcc dot gnu.org
2024-02-02 23:10 ` cvs-commit at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: ian at airs dot com @ 2024-01-22 3:49 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113530
--- Comment #5 from Ian Lance Taylor <ian at airs dot com> ---
Does the GCC 13 branch actually try to build libgo for arc-linux-gnu?
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug go/113530] libgo ftbfs on arc-linux-gnu
2024-01-21 14:51 [Bug go/113530] New: [14 Regression] libgo ftbfs on arc-linux-gnu doko at gcc dot gnu.org
` (4 preceding siblings ...)
2024-01-22 3:49 ` [Bug go/113530] " ian at airs dot com
@ 2024-01-22 6:54 ` doko at gcc dot gnu.org
2024-02-02 23:10 ` cvs-commit at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: doko at gcc dot gnu.org @ 2024-01-22 6:54 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113530
--- Comment #6 from Matthias Klose <doko at gcc dot gnu.org> ---
> Does the GCC 13 branch actually try to build libgo for arc-linux-gnu?
I don't know. I usually configure with --enable-languages=go, which I didn't
with 13, but by a mistake did with 14. So maybe just let's close this, the
libgo/configure also doesn't have a GOARCH set for these two architectures.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug go/113530] libgo ftbfs on arc-linux-gnu
2024-01-21 14:51 [Bug go/113530] New: [14 Regression] libgo ftbfs on arc-linux-gnu doko at gcc dot gnu.org
` (5 preceding siblings ...)
2024-01-22 6:54 ` doko at gcc dot gnu.org
@ 2024-02-02 23:10 ` cvs-commit at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-02-02 23:10 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113530
--- Comment #7 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Ian Lance Taylor <ian@gcc.gnu.org>:
https://gcc.gnu.org/g:cfc6d9ae8143cf0e903384bc63e8d659ca1c9fe7
commit r14-8763-gcfc6d9ae8143cf0e903384bc63e8d659ca1c9fe7
Author: Ian Lance Taylor <iant@golang.org>
Date: Mon Jan 22 17:26:23 2024 -0800
libgo: better error messages for unknown GOARCH/GOOS
PR go/113530
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/557655
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2024-02-02 23:10 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-21 14:51 [Bug go/113530] New: [14 Regression] libgo ftbfs on arc-linux-gnu doko at gcc dot gnu.org
2024-01-21 14:52 ` [Bug go/113530] " doko at gcc dot gnu.org
2024-01-21 16:44 ` doko at gcc dot gnu.org
2024-01-21 17:03 ` danglin at gcc dot gnu.org
2024-01-21 18:02 ` danglin at gcc dot gnu.org
2024-01-22 3:49 ` [Bug go/113530] " ian at airs dot com
2024-01-22 6:54 ` doko at gcc dot gnu.org
2024-02-02 23:10 ` cvs-commit at gcc dot gnu.org
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).