public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug go/106033] New: [13 Regression] libgo fails with error: reference to undefined name ‘_libgo_loff_t_type’ since r13-1159-g7f195a2270910a
@ 2022-06-20  8:09 marxin at gcc dot gnu.org
  2022-06-20 11:46 ` [Bug go/106033] " rguenth at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-06-20  8:09 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 106033
           Summary: [13 Regression] libgo fails with error: reference to
                    undefined name ‘_libgo_loff_t_type’ since
                    r13-1159-g7f195a2270910a
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: go
          Assignee: ian at airs dot com
          Reporter: marxin at gcc dot gnu.org
                CC: cmang at google dot com
  Target Milestone: ---

Created attachment 53167
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53167&action=edit
Build log

Fails with:

libtool: compile:  /home/marxin/Programming/gcc/objdir/./gcc/gccgo
-B/home/marxin/Programming/gcc/objdir/./gcc/
-B/usr/local/x86_64-pc-linux-gnu/bin/ -B/usr/local/x86_64-pc-linux-gnu/lib/
-isystem /usr/local/x86_64-pc-linux-gnu/include -isystem
/usr/local/x86_64-pc-linux-gnu/sys-include -minline-all-stringops -O2 -g -I .
-c -fgo-pkgpath=sort ../../../libgo/go/sort/search.go
../../../libgo/go/sort/slice.go ../../../libgo/go/sort/slice_go113.go
../../../libgo/go/sort/sort.go ../../../libgo/go/sort/zfuncversion.go -o sort.o
>/dev/null 2>&1
../../../libgo/go/syscall/libcall_linux.go:220:25: error: reference to
undefined name ‘_libgo_loff_t_type’
  220 |                 lroff = _libgo_loff_t_type(*roff)
      |                         ^
../../../libgo/go/syscall/libcall_linux.go:226:25: error: reference to
undefined name ‘_libgo_loff_t_type’
  226 |                 lwoff = _libgo_loff_t_type(*woff)
      |                         ^
../../../libgo/go/syscall/libcall_linux.go:217:19: error: use of undefined type
‘_libgo_loff_t_type’
  217 |         var lroff _libgo_loff_t_type
      |                   ^
../../../libgo/go/syscall/libcall_linux.go:217:19: error: use of undefined type
‘_libgo_loff_t_type’
../../../libgo/go/syscall/libcall_linux.go:217:19: error: use of undefined type
‘_libgo_loff_t_type’
../../../libgo/go/syscall/libcall_linux.go:217:19: error: use of undefined type
‘_libgo_loff_t_type’
../../../libgo/go/syscall/libcall_linux.go:217:19: error: use of undefined type
‘_libgo_loff_t_type’
../../../libgo/go/syscall/libcall_linux.go:217:19: error: use of undefined type
‘_libgo_loff_t_type’
../../../libgo/go/syscall/libcall_linux.go:217:19: error: use of undefined type
‘_libgo_loff_t_type’
../../../libgo/go/syscall/libcall_linux.go:217:19: error: use of undefined type
‘_libgo_loff_t_type’

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

* [Bug go/106033] [13 Regression] libgo fails with error: reference to undefined name ‘_libgo_loff_t_type’ since r13-1159-g7f195a2270910a
  2022-06-20  8:09 [Bug go/106033] New: [13 Regression] libgo fails with error: reference to undefined name ‘_libgo_loff_t_type’ since r13-1159-g7f195a2270910a marxin at gcc dot gnu.org
@ 2022-06-20 11:46 ` rguenth at gcc dot gnu.org
  2022-06-20 18:15 ` ian at airs dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-06-20 11:46 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |13.0

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

* [Bug go/106033] [13 Regression] libgo fails with error: reference to undefined name ‘_libgo_loff_t_type’ since r13-1159-g7f195a2270910a
  2022-06-20  8:09 [Bug go/106033] New: [13 Regression] libgo fails with error: reference to undefined name ‘_libgo_loff_t_type’ since r13-1159-g7f195a2270910a marxin at gcc dot gnu.org
  2022-06-20 11:46 ` [Bug go/106033] " rguenth at gcc dot gnu.org
@ 2022-06-20 18:15 ` ian at airs dot com
  2022-06-21  6:54 ` marxin at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: ian at airs dot com @ 2022-06-20 18:15 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Ian Lance Taylor <ian at airs dot com> ---
Created attachment 53173
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53173&action=edit
Potential patch

I haven't been able to recreate the problem, but does this patch fix it? 
Thanks.

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

* [Bug go/106033] [13 Regression] libgo fails with error: reference to undefined name ‘_libgo_loff_t_type’ since r13-1159-g7f195a2270910a
  2022-06-20  8:09 [Bug go/106033] New: [13 Regression] libgo fails with error: reference to undefined name ‘_libgo_loff_t_type’ since r13-1159-g7f195a2270910a marxin at gcc dot gnu.org
  2022-06-20 11:46 ` [Bug go/106033] " rguenth at gcc dot gnu.org
  2022-06-20 18:15 ` ian at airs dot com
@ 2022-06-21  6:54 ` marxin at gcc dot gnu.org
  2022-06-21 15:03 ` cvs-commit at gcc dot gnu.org
  2022-06-21 15:03 ` ian at airs dot com
  4 siblings, 0 replies; 6+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-06-21  6:54 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2022-06-21

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Yes, the patch helps, please install it.

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

* [Bug go/106033] [13 Regression] libgo fails with error: reference to undefined name ‘_libgo_loff_t_type’ since r13-1159-g7f195a2270910a
  2022-06-20  8:09 [Bug go/106033] New: [13 Regression] libgo fails with error: reference to undefined name ‘_libgo_loff_t_type’ since r13-1159-g7f195a2270910a marxin at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2022-06-21  6:54 ` marxin at gcc dot gnu.org
@ 2022-06-21 15:03 ` cvs-commit at gcc dot gnu.org
  2022-06-21 15:03 ` ian at airs dot com
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-06-21 15:03 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from CVS 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:7905a9ac26707ed6ac49e40e35a9c8755c6574e3

commit r13-1189-g7905a9ac26707ed6ac49e40e35a9c8755c6574e3
Author: Ian Lance Taylor <iant@golang.org>
Date:   Sat Jun 18 18:19:28 2022 -0700

    libgo: #include <sys/types.h> when checking for loff_t

    PR go/106033

    Fixes golang/go#53469

    Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/413214

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

* [Bug go/106033] [13 Regression] libgo fails with error: reference to undefined name ‘_libgo_loff_t_type’ since r13-1159-g7f195a2270910a
  2022-06-20  8:09 [Bug go/106033] New: [13 Regression] libgo fails with error: reference to undefined name ‘_libgo_loff_t_type’ since r13-1159-g7f195a2270910a marxin at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2022-06-21 15:03 ` cvs-commit at gcc dot gnu.org
@ 2022-06-21 15:03 ` ian at airs dot com
  4 siblings, 0 replies; 6+ messages in thread
From: ian at airs dot com @ 2022-06-21 15:03 UTC (permalink / raw)
  To: gcc-bugs

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

Ian Lance Taylor <ian at airs dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Ian Lance Taylor <ian at airs dot com> ---
Should be fixed now, sorry for the trouble.

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

end of thread, other threads:[~2022-06-21 15:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-20  8:09 [Bug go/106033] New: [13 Regression] libgo fails with error: reference to undefined name ‘_libgo_loff_t_type’ since r13-1159-g7f195a2270910a marxin at gcc dot gnu.org
2022-06-20 11:46 ` [Bug go/106033] " rguenth at gcc dot gnu.org
2022-06-20 18:15 ` ian at airs dot com
2022-06-21  6:54 ` marxin at gcc dot gnu.org
2022-06-21 15:03 ` cvs-commit at gcc dot gnu.org
2022-06-21 15:03 ` ian at airs 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).