public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug go/56827] New: Building Go support for gcc 4.8.0 fails on Linux: undefined type ‘SockFilter’
@ 2013-04-03 10:15 mrcs.gcc at mailnull dot com
2013-04-03 10:18 ` [Bug go/56827] " mrcs.gcc at mailnull dot com
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: mrcs.gcc at mailnull dot com @ 2013-04-03 10:15 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56827
Bug #: 56827
Summary: Building Go support for gcc 4.8.0 fails on Linux:
undefined type ‘SockFilter’
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: go
AssignedTo: ian@airs.com
ReportedBy: mrcs.gcc@mailnull.com
Building Go support for gcc 4.8.0 fails on Linux 2.6.5 (SuSE Linux Enterprise
9.4).
Platform: SuSE Linux Enterprise 9.4
Kernel: 2.6.5
Arch: x64/amd64
the make step fails with the following error:
libtool: compile:
/svnstore/unix/mrcs/git/gccgo/gccgo-build/build.Linux-2.6.5-x86_64/gcc-4.8.0/host-x86_64-unknown-linux-gnu/gcc/gccgo
-B/svnstore/unix/mrcs/git/gccgo/gccgo-build/build.Linux-2.6.5-x86_64/gcc-4.8.0/host-x86_64-unknown-linux-gnu/gcc/
-B/home/mrcs/gccgo1-Linux-2.6.5-x86_64/x86_64-unknown-linux-gnu/bin/
-B/home/mrcs/gccgo1-Linux-2.6.5-x86_64/x86_64-unknown-linux-gnu/lib/ -isystem
/home/mrcs/gccgo1-Linux-2.6.5-x86_64/x86_64-unknown-linux-gnu/include -isystem
/home/mrcs/gccgo1-Linux-2.6.5-x86_64/x86_64-unknown-linux-gnu/sys-include
-minline-all-stringops -O2 -g -I . -c -fgo-pkgpath=syscall
../.././libgo/go/syscall/env_unix.go ../.././libgo/go/syscall/syscall_errno.go
../.././libgo/go/syscall/libcall_support.go
../.././libgo/go/syscall/libcall_posix.go ../.././libgo/go/syscall/race0.go
../.././libgo/go/syscall/socket.go ../.././libgo/go/syscall/sockcmsg_unix.go
../.././libgo/go/syscall/str.go ../.././libgo/go/syscall/syscall.go
../.././libgo/go/syscall/sockcmsg_linux.go
../.././libgo/go/syscall/syscall_unix.go ../.././libgo/go/syscall/exec_unix.go
../.././libgo/go/syscall/exec_linux.go
../.././libgo/go/syscall/libcall_wait4.go
../.././libgo/go/syscall/sleep_select.go
../.././libgo/go/syscall/errstr_linux.go
../.././libgo/go/syscall/libcall_posix_largefile.go
../.././libgo/go/syscall/socket_linux.go epoll.go
../.././libgo/go/syscall/socket_posix.go
../.././libgo/go/syscall/libcall_uname.go
../.././libgo/go/syscall/netlink_linux.go ../.././libgo/go/syscall/lsf_linux.go
../.././libgo/go/syscall/libcall_linux_utimesnano.go
../.././libgo/go/syscall/libcall_linux.go
../.././libgo/go/syscall/libcall_linux_amd64.go
../.././libgo/go/syscall/syscall_linux_amd64.go libcalls.go sysinfo.go
syscall_arch.go -fPIC -o .libs/syscall.o
../.././libgo/go/syscall/lsf_linux.go:13:28: error: use of undefined type
‘SockFilter’
func LsfStmt(code, k int) *SockFilter {
^
../.././libgo/go/syscall/lsf_linux.go:13:28: error: use of undefined type
‘SockFilter’
../.././libgo/go/syscall/lsf_linux.go:69:8: error: use of undefined type
‘SockFprog’
var p SockFprog
^
../.././libgo/go/syscall/lsf_linux.go:70:3: error: reference to field ‘Len’ in
object which has no fields or methods
p.Len = uint16(len(i))
^
../.././libgo/go/syscall/lsf_linux.go:71:3: error: reference to field ‘Filter’
in object which has no fields or methods
p.Filter = (*SockFilter)(unsafe.Pointer(&i[0]))
^
../.././libgo/go/syscall/lsf_linux.go:71:15: error: reference to undefined name
‘SockFilter’
p.Filter = (*SockFilter)(unsafe.Pointer(&i[0]))
^
../.././libgo/go/syscall/libcall_linux_utimesnano.go:17:18: error: reference to
undefined name ‘_AT_FDCWD’
err = utimensat(_AT_FDCWD, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), 0)
^
../.././libgo/go/syscall/lsf_linux.go:13:28: error: use of undefined type
‘SockFilter’
func LsfStmt(code, k int) *SockFilter {
^
../.././libgo/go/syscall/lsf_linux.go:13:28: error: use of undefined type
‘SockFilter’
../.././libgo/go/syscall/lsf_linux.go:13:28: error: use of undefined type
‘SockFilter’
make[4]: *** [syscall.lo] Error 1
make[4]: Leaving directory
`/svnstore/unix/mrcs/git/gccgo/gccgo-build/build.Linux-2.6.5-x86_64/gcc-4.8.0/x86_64-unknown-linux-gnu/libgo'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/svnstore/unix/mrcs/git/gccgo/gccgo-build/build.Linux-2.6.5-x86_64/gcc-4.8.0/x86_64-unknown-linux-gnu/libgo'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/svnstore/unix/mrcs/git/gccgo/gccgo-build/build.Linux-2.6.5-x86_64/gcc-4.8.0/x86_64-unknown-linux-gnu/libgo'
make[1]: *** [all-target-libgo] Error 2
make[1]: Leaving directory
`/svnstore/unix/mrcs/git/gccgo/gccgo-build/build.Linux-2.6.5-x86_64/gcc-4.8.0'
make: *** [all] Error 2
>From gcc-bugs-return-419093-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 03 10:15:02 2013
Return-Path: <gcc-bugs-return-419093-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29076 invoked by alias); 3 Apr 2013 10:15:01 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 28744 invoked by uid 48); 3 Apr 2013 10:14:57 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/56735] [4.6/4.7/4.8/4.9 Regression] Namelist Read Error with question marks
Date: Wed, 03 Apr 2013 10:15:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: burnus at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 4.6.4
X-Bugzilla-Changed-Fields: Priority
Message-ID: <bug-56735-4-D0aVrdrIc4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-56735-4@http.gcc.gnu.org/bugzilla/>
References: <bug-56735-4@http.gcc.gnu.org/bugzilla/>
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
Content-Type: text/plain; charset="UTF-8"
MIME-Version: 1.0
X-SW-Source: 2013-04/txt/msg00238.txt.bz2
Content-length: 298
http://gcc.gnu.org/bugzilla/show_bug.cgi?idV735
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P4
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug go/56827] Building Go support for gcc 4.8.0 fails on Linux: undefined type ‘SockFilter’
2013-04-03 10:15 [Bug go/56827] New: Building Go support for gcc 4.8.0 fails on Linux: undefined type ‘SockFilter’ mrcs.gcc at mailnull dot com
@ 2013-04-03 10:18 ` mrcs.gcc at mailnull dot com
2013-04-05 14:37 ` mrcs.gcc at mailnull dot com
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: mrcs.gcc at mailnull dot com @ 2013-04-03 10:18 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56827
Markus <mrcs.gcc at mailnull dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |build
--- Comment #1 from Markus <mrcs.gcc at mailnull dot com> 2013-04-03 10:17:55 UTC ---
the configuration used for building:
../gcc-4.8.0/configure --prefix="$INSTALL_DIR" \
--enable-languages=c,c++,go \
--with-mpc="$INSTALL_DIR" \
--with-mpfr="$INSTALL_DIR" \
--with-gmp="$INSTALL_DIR" \
--without-cloog \
--without-isl \
--without-ppl \
--disable-cloog-version-check \
--disable-ppl-version-check \
--enable-lto \
--disable-sjlj-exceptions \
--enable-libgomp \
--with-dwarf2 \
--enable-libstdcxx-debug \
--enable-concept-checks \
--enable-version-specific-runtime-libs \
--without-system-libunwind
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug go/56827] Building Go support for gcc 4.8.0 fails on Linux: undefined type ‘SockFilter’
2013-04-03 10:15 [Bug go/56827] New: Building Go support for gcc 4.8.0 fails on Linux: undefined type ‘SockFilter’ mrcs.gcc at mailnull dot com
2013-04-03 10:18 ` [Bug go/56827] " mrcs.gcc at mailnull dot com
@ 2013-04-05 14:37 ` mrcs.gcc at mailnull dot com
2021-12-08 18:29 ` pinskia at gcc dot gnu.org
2021-12-08 18:35 ` pinskia at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: mrcs.gcc at mailnull dot com @ 2013-04-05 14:37 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56827
--- Comment #2 from Markus <mrcs.gcc at mailnull dot com> 2013-04-05 14:37:11 UTC ---
Created attachment 29809
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29809
crude workaround for a DIFFERENT PROBLEM: ustat missing
while trying to build gcc 4.8.0 on SLES 9.4 I ran into a problem with struct
ustat and this patch let me work around it. It's not a fix, just ignores the
problem, but it might give you guys (who have a much better knowledge of the go
support) a hint where to look.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug go/56827] Building Go support for gcc 4.8.0 fails on Linux: undefined type ‘SockFilter’
2013-04-03 10:15 [Bug go/56827] New: Building Go support for gcc 4.8.0 fails on Linux: undefined type ‘SockFilter’ mrcs.gcc at mailnull dot com
2013-04-03 10:18 ` [Bug go/56827] " mrcs.gcc at mailnull dot com
2013-04-05 14:37 ` mrcs.gcc at mailnull dot com
@ 2021-12-08 18:29 ` pinskia at gcc dot gnu.org
2021-12-08 18:35 ` pinskia at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-08 18:29 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56827
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mfe at live dot de
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 81528 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug go/56827] Building Go support for gcc 4.8.0 fails on Linux: undefined type ‘SockFilter’
2013-04-03 10:15 [Bug go/56827] New: Building Go support for gcc 4.8.0 fails on Linux: undefined type ‘SockFilter’ mrcs.gcc at mailnull dot com
` (2 preceding siblings ...)
2021-12-08 18:29 ` pinskia at gcc dot gnu.org
@ 2021-12-08 18:35 ` pinskia at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-08 18:35 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56827
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |WONTFIX
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Supporting older kernel than 3.0 is going to be hard. Closing as won't fix.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-12-08 18:35 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-03 10:15 [Bug go/56827] New: Building Go support for gcc 4.8.0 fails on Linux: undefined type ‘SockFilter’ mrcs.gcc at mailnull dot com
2013-04-03 10:18 ` [Bug go/56827] " mrcs.gcc at mailnull dot com
2013-04-05 14:37 ` mrcs.gcc at mailnull dot com
2021-12-08 18:29 ` pinskia at gcc dot gnu.org
2021-12-08 18:35 ` pinskia 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).