X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com Message-ID: <598108FD.5060908@gmx.de> Date: Wed, 02 Aug 2017 01:04:29 +0200 From: "Juan Manuel Guerrero (juan DOT guerrero AT gmx DOT de) [via djgpp AT delorie DOT com]" User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.13) Gecko/20101206 SUSE/3.1.7 Thunderbird/3.1.7 MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: ANNOUNCE: DJGPP port of GNU binutils 2.29 uploaded. References: <201707301540 DOT v6UFecLb017840 AT delorie DOT com> <5980C3AA DOT 2080305 AT gmx DOT de> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:3brzvAFHcJgJYd6GbzvdEn3muXr6o1hKhyS6lJWAZQpIHgkML7R pxn6dqKul5rqZjTnt7PQiVFtelStnDABUgFqXFTx/ZCjb6wrpp3IrZEx+FwVn4kmig379jy MNSYKC75/noQgom5pTBkluscQmZlRZA9OEVbkp9XtOZ/PKAOw+FDoLm61TwbyGAkmlBgtfg bVw7h9YN0WvdEsNqh20WQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:nEH+AvZBbPY=:W2t8D6DrPGnGc+2WKtO+nY 7gCb4e1WUx+dsUuTknU4NpEbs3jheylOJJqXHINz4D2k76pvNYMcS9Q3NboA0nMfOkpFqrTwT KRRXnNa6Bmjg5dTWsUKWxUjBA1xrbaLc2Ba9dZBmAjOkDv8f/y9tK+CRnr7DuqKggVz00CFTv VdRzYyeknyqwaoS3uddokNxBXrU5iodWTUGb/CJSHKyQ6MNe8N3eiM/nJyNSW2XeNBeBfr5dn WCFvoPgFE1A7n9bXhcTwhxAXq7nCY0uxSQkh9+E+ZR0goWsxktSG3LIWOq2M9gPCtvAxRywvU NIFg/8P5rSSb7Dyw+GfLpvcSm/ZAle8hoKQMAwDg4QWe72d5s5gsTOscOdBjyELrGDMIGRJkQ 5fkTcFN8Dy7Gkqrfa6sbz8klp7NQEDb/vXzpqvB9bVojM5CRadNZUNm35Z7bHiELbAV+/sHWo I8su8a2t/0yli8ot8u2Sts1/8lVSVfflV6u0rde9LT6pMOpQzqIPR88cUicn1Gw4T7l2XUoQe fuplmQsJ5/LmtxXt53xFPkY3xf5GXR3DRHTp0Vvd1bQJEKCkA6aa0+luMDm8BFYCRdBUSpKJU d0kvJOYscnz7mBUmz3MnDUTtq0pzYxZrgWZzEFRSYQ9DFSbws3AGV11Nc+MsnggceMNdXgfX4 TE6VEJBVriOxEnxdxpv5Jf4zZPlLLqyA0h9ZHYbMvq9GHvYvg2rh0bCzdewgVYb3ry/Mv8MuU g/+lWYz+VGNWKxaCAqAF8ijjZMWnKuUdETy4Y75EuxzgvjhKh37/pSNGqWuNhWwHrgevvuGI+ F/oSMxUWhYVRCkmm9abCh/YzukUpW+1TKwcRttd6qGa1BxcqEY= Reply-To: djgpp AT delorie DOT com Am 02.08.2017 00:15, schrieb Hans-Bernhard Bröker: > Am 01.08.2017 um 20:08 schrieb Juan Manuel Guerrero [via djgpp AT delorie DOT com]: >> I do not know who has decide decades ago to declare _doprnt in >> stdio.h but now this declaration collides with the one from libiberty. > > How come it suddenly collides now? > > _doprint has been in libiberty for 16 years, and in both GCC and DJGPP sources longer than that. What change suddenly turned this friendly coexistence into a collision? We are talking about _doprnt and no other function. I do not know were the _doprnt version of libiberty has been used at the same time than the one provided by DJGPP's libc. Thus I do not know if they have ever worked together. But the point is something completely different. They have copied-and-pasted the _doprnt version of libiberty into bfd.c and adjusted it for their particular purposes inside the bfd library. They are not even using the original function from libiberty. But bfd.c also includes stdio.h and now we hace a contradiction between the stdio.h declaration of _doprnt and the special implementation of _doprnt itself used inside bfd.c. The arguments of DJGPP's _doprnt version simply does not match the arguments of the _doprnt version inserted into bfd.c thus it is not possible to compile the bfd library using DJGPP. IMHO it is easier to fix stdio.h than start endless discussion with the binutils maintainers. I do not think that the DJGPP user group is still so large that some one will be hurd if we change _doprnt by __doprnt or something similar. Regards, Juan M. Guerrero