Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gopack: segmentation fault in runtime #57

Closed
gopherbot opened this issue Nov 11, 2009 · 3 comments
Closed

gopack: segmentation fault in runtime #57

gopherbot opened this issue Nov 11, 2009 · 3 comments

Comments

@gopherbot
Copy link

by b88zhou:

> What steps will reproduce the problem?
1. On a ARM machine follow build process

> What is the expected output? What do you see instead?

Expect to see build finish successfully.
See this instead:

5a arm/memset.s
5a arm/vlop.s
5c -Ilinux -Ilinux/arm -wF  -N sema.c
rm -f _obj/runtime.a
gopack grc _obj/runtime.a _go_.5 asm.5 cgocall.5 chan.5 closure.5 float.5 
hashmap.5 iface.5 malloc.5 mcache.5 mcentral.5 mem.5 mfixalloc.5 mgc0.5 
mheap.5 mheapmap32.5 msize.5 print.5 proc.5 reflect.5 rune.5 runtime.5 
rt0.5 sema.5 signal.5 slice.5 string.5 symtab.5 sys.5 thread.5 traceback.5 
cas.5 memset.5 vlop.5 vlrt.5   
make[1]: *** [_obj/runtime.a] Segmentation fault

> What is your $GOOS?  $GOARCH?
linux/arm

> Which revision are you sync'ed to?  (hg log -l 1)
3975:b51fd2d6c160

> Please provide any additional information below.

$ gcc -v
Using built-in specs.
Target: arm-none-linux-gnueabi
Configured with: ../gcc-4.2/configure --build=i386-pc-linux-gnu --host=arm-
none-linux-gnueabi --target=arm-none-linux-gnueabi --prefix=/opt --disable-
nls --disable-static --with-
as=/home/slug/optware/cs08q1armel/toolchain/arm-2008q1/bin/arm-none-linux-
gnueabi-as --with-ld=/home/slug/optware/cs08q1armel/toolchain/arm-
2008q1/bin/arm-none-linux-gnueabi-ld --enable-languages=c,c++ --disable-
multilib --enable-threads --disable-libmudflap --disable-libssp --disable-
libgomp --disable-libstdcxx-pch --enable-shared --enable-symvers=gnu --
enable-__cxa_atexit
Thread model: posix
gcc version 4.2.3

$ make --version
GNU Make 3.81

$ ls -l $GOBIN/
-rwxr-xr-x 1 user user 201247 2009-11-11 11:08 5a
-rwxr-xr-x 1 user user 579597 2009-11-11 11:09 5c
-rwxr-xr-x 1 user user 760689 2009-11-11 11:10 5g
-rwxr-xr-x 1 user user 380886 2009-11-11 11:08 5l
-rwxr-xr-x 1 user user 381291 2009-11-11 11:10 6cov
-rwxr-xr-x 1 user user 262133 2009-11-11 11:10 6nm
-rwxr-xr-x 1 user user 374256 2009-11-11 11:11 6prof
-rwxr-xr-x 1 user user 170052 2009-11-11 11:11 godefs
-rwxr-xr-x 1 user user 235792 2009-11-11 11:10 gopack
-rwxr-xr-x 1 user user   3104 2009-11-11 11:11 gotest
-rwxr-xr-x 1 user user   1484 2009-11-11 11:06 quietgcc
@gopherbot
Copy link
Author

Comment 1 by b88zhou:

$ uname -a
Linux mach-name 2.6.22.18 #4 Fri Mar 6 12:32:13 CST 2009 armv5tejl GNU/Linux

@gopherbot
Copy link
Author

Comment 2 by b88zhou:

$ /lib/libc.so.6
GNU C Library stable release version 2.5, by Roland McGrath et al.
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.2.1.
Compiled on a Linux >>2.6.17-12-generic<< system on 2008-02-26.
Available extensions:
        crypt add-on version 2.1 by Michael Glad and others
        GNU Libidn by Simon Josefsson
        GNU libio by Per Bothner
        NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
        Native POSIX Threads Library by Ulrich Drepper et al
        Support for some architectures added on, not maintained in glibc core.
        BIND-8.2.3-T5B
Thread-local storage support included.
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>;.

@rsc
Copy link
Contributor

rsc commented Nov 11, 2009

Comment 4:

Status changed to Duplicate.

Merged into issue #48.

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants