From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by melb.werple.net.au (8.7.5/8.7.3) with ESMTP id GAA13852 for ; Mon, 13 May 1996 06:40:06 +1000 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id QAA10250; Sun, 12 May 1996 16:23:18 -0400 (EDT) Resent-Date: Sun, 12 May 1996 16:23:18 -0400 (EDT) From: Zoltan Hidvegi Message-Id: <199605102049.WAA07058@bolyai.cs.elte.hu> Subject: Re: zsh-2.5.03-2.6b17 under Solaris 2.5 trouble with mult() To: erik@ts2.galt.com (Erik Ogan) Date: Fri, 10 May 1996 22:49:26 +0200 (MET DST) Cc: zsh-workers@math.gatech.edu In-Reply-To: <199605072229.SAA20258@ts2.galt.com.> from Erik Ogan at "May 7, 96 06:29:32 pm" Organization: Dept. of Comp. Sci., Eotvos University, Budapest, Hungary Phone: (36 1)2669833 ext: 2667, home phone: (36 1) 2752368 X-Mailer: ELM [version 2.4ME+ PL16 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-ID: <"0TGg8.0.1W2.rYabn"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/1058 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu > The following occurs on all of our Solaris 2.5 boxes for zsh versions > 2.5.03 - 2.6b17 (ok, I didn't try EVERY beta...:) but does NOT occur > under SunOS 4.1.x. > > Everything compiles fine, but in the when it (gcc-2.7.2) tries to link: [...] > generates the following warnings: > > Warning: size of symbol `mult' changed from 4 to 284 in /lib/libmp.so.1 > Warning: type of symbol `mult' changed from 1 to 2 in /lib/libmp.so.1 mult is used by zle and contains the numeric argument of zle commands. No C standard says that mult is a reserved variable I think. Unfortunately libmp.so.1 seems to use it. It should have used something like __mult to protect user programs. mult is a quite innocent variable name and this would mean that every application defining mult as an external symbol will fail even it it did work under Solaris 2.4. This is a serious bug in Solaris. Please report it to SUN. I'll rename mult to something else in the next beta anyway. Bye, Zoltan