NetBSD Problem Report #12526
Received: (qmail 29882 invoked from network); 2 Apr 2001 16:04:30 -0000
Message-Id: <200104021602.f32G2mi00442@turtle8.m2g.org>
Date: Tue, 3 Apr 2001 01:02:48 +0900 (JST)
From: taya@netbsd.org
Reply-To: taya@netbsd.org
To: gnats-bugs@gnats.netbsd.org
Subject: ranlib corrupts some library
X-Send-Pr-Version: 3.95
>Number: 12526
>Category: toolchain
>Synopsis: ranlib corrupts some library
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: toolchain-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Apr 02 16:05:00 +0000 2001
>Closed-Date: Thu Jan 13 18:13:41 +0000 2005
>Last-Modified: Thu Jan 13 18:13:41 +0000 2005
>Originator: Shin'ichiro TAYA
>Release: 20010330
>Organization:
>Environment:
System: NetBSD turtle8.m2g.org 1.5T NetBSD 1.5T (SS20) #22: Sat Mar 31 21:21:24 JST 2001 taya@turtle8.m2g.org:/export/NetBSD/NetBSD-current/src/sys/arch/sparc/compile/SS20 sparc
Architecture: sparc
Machine: sparc
>Description:
ranlib corrupts mozilla/netwerk/protocol/file/src/libnkfile_s.a
>How-To-Repeat:
(after bulding mozilla from pkgsrc)
# cd work/mozilla/netwerk/protocol/file/src/libnkfile_s.a
# ar t libnkfile_s.a
ar: libnkfile_s.a: Malformed archive
(make libnkfile_s.a manually)
# rm libnkfile_s.a
# /usr/bin/ar cr libnkfile_s.a nsFileChannel.o nsFileProtocolHandler.o
# ar t libnkfile_s.a
nsFileChannel.o
nsFileProtocolHandler.o
(ranlib libnkfile_s.a manually)
# ranlib libnkfile_s.a
# ar t libnkfile_s.a
ar: libnkfile_s.a: Malformed archive
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback
State-Changed-By: mrg
State-Changed-When: Wed Mar 31 10:08:44 UTC 2004
State-Changed-Why:
do you know if this is still a problem? thanks.
From: "Shin'ichiro TAYA" <taya@NetBSD.org>
To: gnats-bugs@gnats.netbsd.org, mrg@NetBSD.org
Cc: port-sparc-maintainer@NetBSD.org
Subject: Re: port-sparc/12526
Date: Wed, 31 Mar 2004 19:47:33 +0900 (JST)
I didn't test it for a long time.
I'll test it later.
From: mrg@netbsd.org
Subject: Re: port-sparc/12526
Date: 31 Mar 2004 10:08:59 -0000
> Synopsis: ranlib corrupts some library
>
> State-Changed-From-To: open->feedback
> State-Changed-By: mrg
> State-Changed-When: Wed Mar 31 10:08:44 UTC 2004
> State-Changed-Why:
> do you know if this is still a problem? thanks.
>
From: "Shin'ichiro TAYA" <taya@NetBSD.org>
To: gnats-bugs@gnats.netbsd.org, mrg@NetBSD.org
Cc: port-sparc-maintainer@NetBSD.org
Subject: Re: port-sparc/12526
Date: Thu, 08 Apr 2004 23:40:17 +0900 (JST)
another bug prevent me from verifying original PR...
gmake[3]: Entering directory `/mnt/NetBSD/NetBSD-current/work/pkgsrc/www/mozilla/work.turtle8/mozilla/xpcom/ds'
nsTextFormatter.cpp
g++ -o nsTextFormatter.o -c -DOSTYPE=\"NetBSD2\" -DOSARCH=\"NetBSD\" -D_IMPL_NS_COM -I../../dist/include/string -I../../dist/include/xpcom -I../../dist/include -I/mnt/NetBSD/NetBSD-current/work/pkgsrc/www/mozilla/work.turtle8/mozilla/dist/include/nspr -I/usr/pkg/include -I/usr/pkg/include -I/usr/X11R6/include -fPIC -DPIC -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/X11R6/include -I/usr/include -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -W overloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-long-long -O2 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/X11R6/include -I/usr/include -Dunix -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -O2 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/X11R6/include -I/usr/include -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../mozilla-config.h -Wp,-MD,.deps/nsTextFormatter.pp nsTextFormatter.cpp
nsTextFormatter.cpp: In function `NumArgState* BuildArgArray(const PRUnichar*,
char*, int*, NumArgState*)':
nsTextFormatter.cpp:916: warning: cast from `char*' to `PRIntn**' increases
required alignment of target type
nsTextFormatter.cpp:916: warning: cast from `char*' to `PRIntn*' increases
required alignment of target type
nsTextFormatter.cpp:916: warning: cast from `char*' to `PRIntn*' increases
required alignment of target type
nsTextFormatter.cpp:918: warning: cast from `char*' to `PRInt32**' increases
required alignment of target type
nsTextFormatter.cpp:918: warning: cast from `char*' to `PRInt32*' increases
required alignment of target type
nsTextFormatter.cpp:918: warning: cast from `char*' to `PRInt32*' increases
required alignment of target type
nsTextFormatter.cpp:920: warning: cast from `char*' to `PRUint32**' increases
required alignment of target type
nsTextFormatter.cpp:920: warning: cast from `char*' to `PRUint32*' increases
required alignment of target type
nsTextFormatter.cpp:920: warning: cast from `char*' to `PRUint32*' increases
required alignment of target type
nsTextFormatter.cpp:922: warning: cast from `char*' to `PRInt64**' increases
required alignment of target type
nsTextFormatter.cpp:922: warning: cast from `char*' to `PRInt64*' increases
required alignment of target type
nsTextFormatter.cpp:922: warning: cast from `char*' to `PRInt64*' increases
required alignment of target type
nsTextFormatter.cpp:924: warning: cast from `char*' to `PRUint64**' increases
required alignment of target type
nsTextFormatter.cpp:924: warning: cast from `char*' to `PRUint64*' increases
required alignment of target type
nsTextFormatter.cpp:924: warning: cast from `char*' to `PRUint64*' increases
required alignment of target type
nsTextFormatter.cpp:926: warning: cast from `char*' to `char***' increases
required alignment of target type
nsTextFormatter.cpp:926: warning: cast from `char*' to `char**' increases
required alignment of target type
nsTextFormatter.cpp:926: warning: cast from `char*' to `char**' increases
required alignment of target type
nsTextFormatter.cpp:928: warning: cast from `char*' to `PRIntn***' increases
required alignment of target type
nsTextFormatter.cpp:928: warning: cast from `char*' to `PRIntn**' increases
required alignment of target type
nsTextFormatter.cpp:928: warning: cast from `char*' to `PRIntn**' increases
required alignment of target type
nsTextFormatter.cpp:930: warning: cast from `char*' to `double**' increases
required alignment of target type
nsTextFormatter.cpp:930: warning: cast from `char*' to `double*' increases
required alignment of target type
nsTextFormatter.cpp:930: warning: cast from `char*' to `double*' increases
required alignment of target type
nsTextFormatter.cpp:932: warning: cast from `char*' to `PRUnichar***' increases
required alignment of target type
nsTextFormatter.cpp:932: warning: cast from `char*' to `PRUnichar**' increases
required alignment of target type
nsTextFormatter.cpp:932: warning: cast from `char*' to `PRUnichar**' increases
required alignment of target type
nsTextFormatter.cpp: In function `int dosprintf(SprintfState*, const
PRUnichar*, char*)':
nsTextFormatter.cpp:1057: warning: cast from `char*' to `int**' increases
required alignment of target type
nsTextFormatter.cpp:1057: warning: cast from `char*' to `int*' increases
required alignment of target type
nsTextFormatter.cpp:1057: warning: cast from `char*' to `int*' increases
required alignment of target type
nsTextFormatter.cpp:1072: warning: cast from `char*' to `int**' increases
required alignment of target type
nsTextFormatter.cpp:1072: warning: cast from `char*' to `int*' increases
required alignment of target type
nsTextFormatter.cpp:1072: warning: cast from `char*' to `int*' increases
required alignment of target type
nsTextFormatter.cpp:1132: warning: cast from `char*' to `int**' increases
required alignment of target type
nsTextFormatter.cpp:1132: warning: cast from `char*' to `int*' increases
required alignment of target type
nsTextFormatter.cpp:1132: warning: cast from `char*' to `int*' increases
required alignment of target type
nsTextFormatter.cpp:1139: warning: cast from `char*' to `int**' increases
required alignment of target type
nsTextFormatter.cpp:1139: warning: cast from `char*' to `int*' increases
required alignment of target type
nsTextFormatter.cpp:1139: warning: cast from `char*' to `int*' increases
required alignment of target type
nsTextFormatter.cpp:1142: warning: cast from `char*' to `int**' increases
required alignment of target type
nsTextFormatter.cpp:1142: warning: cast from `char*' to `int*' increases
required alignment of target type
nsTextFormatter.cpp:1142: warning: cast from `char*' to `int*' increases
required alignment of target type
nsTextFormatter.cpp:1149: warning: cast from `char*' to `unsigned int**'
increases required alignment of target type
nsTextFormatter.cpp:1149: warning: cast from `char*' to `unsigned int*'
increases required alignment of target type
nsTextFormatter.cpp:1149: warning: cast from `char*' to `unsigned int*'
increases required alignment of target type
nsTextFormatter.cpp:1153: warning: cast from `char*' to `PRInt32**' increases
required alignment of target type
nsTextFormatter.cpp:1153: warning: cast from `char*' to `PRInt32*' increases
required alignment of target type
nsTextFormatter.cpp:1153: warning: cast from `char*' to `PRInt32*' increases
required alignment of target type
nsTextFormatter.cpp:1160: warning: cast from `char*' to `PRUint32**' increases
required alignment of target type
nsTextFormatter.cpp:1160: warning: cast from `char*' to `PRUint32*' increases
required alignment of target type
nsTextFormatter.cpp:1160: warning: cast from `char*' to `PRUint32*' increases
required alignment of target type
nsTextFormatter.cpp:1169: warning: cast from `char*' to `PRInt64**' increases
required alignment of target type
nsTextFormatter.cpp:1169: warning: cast from `char*' to `PRInt64*' increases
required alignment of target type
nsTextFormatter.cpp:1169: warning: cast from `char*' to `PRInt64*' increases
required alignment of target type
nsTextFormatter.cpp:1176: warning: cast from `char*' to `PRUint64**' increases
required alignment of target type
nsTextFormatter.cpp:1176: warning: cast from `char*' to `PRUint64*' increases
required alignment of target type
nsTextFormatter.cpp:1176: warning: cast from `char*' to `PRUint64*' increases
required alignment of target type
nsTextFormatter.cpp:1191: warning: cast from `char*' to `double**' increases
required alignment of target type
nsTextFormatter.cpp:1191: warning: cast from `char*' to `double*' increases
required alignment of target type
nsTextFormatter.cpp:1191: warning: cast from `char*' to `double*' increases
required alignment of target type
nsTextFormatter.cpp:1199: warning: cast from `char*' to `int**' increases
required alignment of target type
nsTextFormatter.cpp:1199: warning: cast from `char*' to `int*' increases
required alignment of target type
nsTextFormatter.cpp:1199: warning: cast from `char*' to `int*' increases
required alignment of target type
nsTextFormatter.cpp:1244: warning: cast from `char*' to `const PRUnichar***'
increases required alignment of target type
nsTextFormatter.cpp:1244: warning: cast from `char*' to `const PRUnichar**'
increases required alignment of target type
nsTextFormatter.cpp:1244: warning: cast from `char*' to `const PRUnichar**'
increases required alignment of target type
nsTextFormatter.cpp:1252: warning: cast from `char*' to `const char***'
increases required alignment of target type
nsTextFormatter.cpp:1252: warning: cast from `char*' to `const char**'
increases required alignment of target type
nsTextFormatter.cpp:1252: warning: cast from `char*' to `const char**'
increases required alignment of target type
nsTextFormatter.cpp:1260: warning: cast from `char*' to `int***' increases
required alignment of target type
nsTextFormatter.cpp:1260: warning: cast from `char*' to `int**' increases
required alignment of target type
nsTextFormatter.cpp:1260: warning: cast from `char*' to `int**' increases
required alignment of target type
nsTextFormatter.cpp:1191: internal compiler error: in convert_move, at expr.c:
565
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.netbsd.org/Misc/send-pr.html> for instructions.
gmake[3]: *** [nsTextFormatter.o] Error 1
gmake[3]: Leaving directory `/mnt/NetBSD/NetBSD-current/work/pkgsrc/www/mozilla/work.turtle8/mozilla/xpcom/ds'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/mnt/NetBSD/NetBSD-current/work/pkgsrc/www/mozilla/work.turtle8/mozilla/xpcom'
gmake[1]: *** [tier_2] Error 2
gmake[1]: Leaving directory `/mnt/NetBSD/NetBSD-current/work/pkgsrc/www/mozilla/work.turtle8/mozilla'
gmake: *** [default] Error 2
*** Error code 2
Stop.
make: stopped in /mnt/NetBSD/NetBSD-current/work/pkgsrc/www/mozilla
*** Error code 1
Stop.
make: stopped in /mnt/NetBSD/NetBSD-current/work/pkgsrc/www/mozilla
Responsible-Changed-From-To: port-sparc-maintainer->pkg-maintainer
Responsible-Changed-By: jmc
Responsible-Changed-When: Fri Jul 2 19:05:00 UTC 2004
Responsible-Changed-Why:
Current problems in PR deal w. mozilla builds on sparc which is a pkgsrc problem
Responsible-Changed-From-To: pkg-maintainer->pkg-manager
Responsible-Changed-By: wiz
Responsible-Changed-When: Fri Jul 9 15:21:08 UTC 2004
Responsible-Changed-Why:
It is pkg-manager, not -maintainer.
Responsible-Changed-From-To: pkg-manager->toolchain-manager
Responsible-Changed-By: wiz
Responsible-Changed-When: Tue Jul 27 15:36:23 UTC 2004
Responsible-Changed-Why:
PR describes toolchain problem (internal compiler error) on sparc.
State-Changed-From-To: feedback->closed
State-Changed-By: jmc@netbsd.org
State-Changed-When: Thu, 13 Jan 2005 18:13:41 +0000
State-Changed-Why:
This library doesn't get corrupted anymore on a mozilla build and I can't
find any other test cases where I'm seeing corruption.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.