https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81421
martin changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81421
--- Comment #17 from Ian Lance Taylor ---
Thanks. I have no recommendation. I can not explain why your version of grep
behaves differently than mine, and, since nobody else has reported this bug,
apparently differently than everyone else's.
I
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81421
--- Comment #16 from martin ---
For clarification the duplicate of "/go/runtime/mksizeclasses.go > FILE" was a
copy paste mistake.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81421
--- Comment #15 from martin ---
You are right!
I did:
sed '/^package /q' < /media/gcc-7.1.0/libgo/go/runtime/mksizeclasses.go > FILE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81421
--- Comment #14 from Ian Lance Taylor ---
OK, so the sed command works. Run the sed command redirecting standard output
to a file, then see what this prints:
grep '^// +build ' FILE
It sounds like that will print nothing. The only way I could
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81421
--- Comment #13 from martin ---
Thanks for the fast reply.
It prints:
nas-02-90-38:/media/gcc-7.1.0/libgo# sed '/^package /q' <
/media/gcc-7.1.0/libgo/go/runtime/mksizeclasses.go
// Copyright 2016 The Go Authors. All rights reserved.
// Use of t
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81421
--- Comment #12 from Ian Lance Taylor ---
Sorry, I meant: what does this print?
sed '/^package /q' < SRCDIR/libgo/go/runtime/mksizeclasses.go
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81421
--- Comment #11 from martin ---
nas-02-90-38:/media/gcc-7.1.0/libgo# sed
Usage: sed [OPTION]... {script-only-if-no-other-script} [input-file]...
-n, --quiet, --silent
suppress automatic printing of pattern space
-e script, -
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81421
--- Comment #10 from Ian Lance Taylor ---
As far as I know your sed and grep are sufficiently up to date. What does the
sed command by itself print on your system?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81421
--- Comment #9 from martin ---
The OS is based on debian with some custom modification from Netgear.
I thought I "upgraded" all neccessary libraries for gcc 7.1.0.
ldconfig -V
ldconfig (GNU libc) 2.3.2
sed --version
GNU sed version 4.1.5
grep
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81421
--- Comment #8 from Ian Lance Taylor ---
On my system I see this:
> sed '/^package /q' < ~/gcc/gcc-7-branch/libgo/go/runtime/mksizeclasses.go |
> grep '^// +build ' | cat
// +build ignore
That is, the command displays `// +build ignore`. The
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81421
--- Comment #7 from martin ---
/media/gcc-7.1.0 is my source dir
nas-02-90-38:/media/gcc-7.1.0# libgo/match.sh --goarch=sparc --goos=linux
--srcdir=/media/gcc-7.1.0/libgo/go/runtime --extrafiles="runtime_sysinfo.go
sigtab.go" --tag=libffi
/media
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81421
--- Comment #6 from Ian Lance Taylor ---
Thanks. Now I see that the runtime.lo.dep file that you attached earlier was
in fact erroneous. I didn't see that before. It lists "bytes.gox flag.gox
fmt.gox go/format.gox io.gox io/ioutil.gox log.gox
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81421
--- Comment #5 from martin ---
Thanks. I did your suggested steps but it still fails.
In comment 4 I attached the ouput of "make -d"?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81421
--- Comment #4 from martin ---
Created attachment 41751
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41751&action=edit
output of make -d
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81421
--- Comment #3 from Ian Lance Taylor ---
Thanks. That file looks fine.
I don't understand why make is saying that there is a circular dependency,
implying that runtime.lo depends on runtime.s-gox. It does not.
I suggest simply removing your B
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81421
martin changed:
What|Removed |Added
CC||mfe at live dot de
--- Comment #2 from martin
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81421
--- Comment #1 from Ian Lance Taylor ---
I can't recreate this and nobody else has reported it. runtime.lo should not
depend on runtime.s-gox.
What are the contents of BUILDDIR/TARGET/libgo/runtime.lo.dep?
18 matches
Mail list logo