delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2012/01/03/17:15:07

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: =?ISO-8859-1?Q?Hans-Bernhard_Br=F6ker?= <HBBroeker AT t-online DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: problem with AS from binutils 2.21.1
Date: Tue, 03 Jan 2012 23:03:38 +0100
Lines: 33
Message-ID: <9mhc9pF35jU1@mid.dfncis.de>
References: <8a32880d-526c-40ac-a9bb-e88fce4ee2aa AT z25g2000vbs DOT googlegroups DOT com> <21258842-845d-4b87-9c29-52d0528e2ca0 AT dp8g2000vbb DOT googlegroups DOT com> <76df8c48-1463-43d1-98a1-4c32fb5c7643 AT t16g2000vba DOT googlegroups DOT com> <3e83fb36-219b-4314-8201-7f0047eb60d2 AT z12g2000yqm DOT googlegroups DOT com> <9metpcFndoU1 AT mid DOT dfncis DOT de> <1b8a3a38-882b-4056-9c3d-ed23db8ab4fb AT f33g2000yqh DOT googlegroups DOT com> <561636bb-1ec8-4a7b-b1d6-62e28c2f6de9 AT m10g2000vbc DOT googlegroups DOT com>
Mime-Version: 1.0
X-Trace: news.dfncis.de YtSMR+Mg6R9wiQQ3/c27bwHsH7JOiSdyfjALcohMkGDdPtorM4WQ8o8s9n
Cancel-Lock: sha1:FSDInMWj2c5pyDooNVmdp2CghDw=
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:8.0) Gecko/20111105 Thunderbird/8.0
In-Reply-To: <561636bb-1ec8-4a7b-b1d6-62e28c2f6de9@m10g2000vbc.googlegroups.com>
Bytes: 2697
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On 03.01.2012 02:09, RayeR wrote:

> As a mistake I wrote that object file reached about 3,4MB but it
> should be size of temp. asm file (L:\WINXP\TEMP/ccOqvtFj.s) which even
> growed over 11MB - hard to exactly say I was observing temp directory
> and afer it was done temp file disappeared.

If you want a real look, add the -save-temps flag to your compilation 
flags.  That will preserve all the intermediate files, including the asm 
source.

> Any idea about the waring in libc:
> e:/djgpp/lib/libc.a(d0e01.o): warning: previous common is here
> e:/djgpp/lib/libc.a(d0600.o): warning: multiple common of
> `___dpmi_error'
>
> I can found only definition in DPMI.H
> extern unsigned short __dpmi_error;

Actually, that's not a definition you found.  It's a declaration.

The message itself is most likely caused by the presence of the 
--warn-common flag in the effective linker command line.  It's 
complaining about multiple not-quite-definitions which, in a C program, 
would look like this:

	unsigned short __dpmi_error;

In the actual DJGPP libc sources, those are assembly modules, but the 
story is essentially the same.  "common" definitions are considered 
normal in the Unix world, including DJGPP, so it's not a terribly good 
idea to activate that linker warning in code meant for a Unix platform. 
  That said, you can just ignore the warning.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019