Bug#882155: libgo11: libgo.so.11.0.0 is with debug_info and not stripped

2017-11-29 Thread Shengjing Zhu
On Wed, Nov 29, 2017 at 9:32 AM, Matthias Klose  wrote:
>> /usr/lib/x86_64-linux-gnu/libgo.so.11.0.0 is not stripped which make the
>> file very large, nearly 48M.
>
> needed upstream for the reflection stuff.

Thanks for the following up. Could you point me the bug in upstream?
I didn't meet problem(can build and run applications) with stripped libgo.

-- 
Best regards,
Shengjing Zhu



Bug#882155: libgo11: libgo.so.11.0.0 is with debug_info and not stripped

2017-11-29 Thread Shengjing Zhu
On Wed, Nov 29, 2017 at 11:37 PM, Shengjing Zhu  wrote:
> On Wed, Nov 29, 2017 at 9:32 AM, Matthias Klose  wrote:
>>> /usr/lib/x86_64-linux-gnu/libgo.so.11.0.0 is not stripped which make the
>>> file very large, nearly 48M.
>>
>> needed upstream for the reflection stuff.
>
> Thanks for the following up. Could you point me the bug in upstream?
> I didn't meet problem(can build and run applications) with stripped libgo.
>

Hi, in debian/changelog, I find

* Don't strip the libgo library, or some things won't work as
documented like runtime.Callers. Still keep the -dbg packages and
check if some debug information can be stripped.

After manually stripping libgo.so.11.0.0, I didn't see strange
behavior with runtime.Callers, I can run `go-7 test callers_test.go`,
callers_test.go is from
https://github.com/golang/go/blob/master/src/runtime/callers_test.go

did you have a failed test?

-- 
Best regards,
Shengjing Zhu



Bug#883136: libgo11: Please consider moving gox files to a separate package

2017-11-29 Thread Shengjing Zhu
Package: libgo11
Version: 7.2.0-16
Severity: wishlist

Dear Maintainer,

*.gox files are shipped in libgo11, in /usr/lib/x86_64-linux-gnu/go/7/.
IMHO, these files are like *.h for C, and should be in a separate package.


-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing'), (100, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libgo11 depends on:
ii  gcc-7-base  7.2.0-16
ii  libc6   2.25-2
ii  libgcc1 1:7.2.0-16
ii  zlib1g  1:1.2.8.dfsg-5

libgo11 recommends no packages.

libgo11 suggests no packages.

-- no debconf information


signature.asc
Description: PGP signature