delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/11/07/03:18:32

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <418DDA49.2080603@x-ray.at>
Date: Sun, 07 Nov 2004 09:18:17 +0100
From: Reini Urban <rurban AT x-ray DOT at>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.8a4) Gecko/20040927
MIME-Version: 1.0
To: cygwin <cygwin AT cygwin DOT com>
Subject: gcc auto-import info (Was: cygwin build failure)
X-IsSubscribed: yes

--------------080503030203040707060206
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Does someone remember how to get rid of the new ld auto-import
   Info: resolving _optarg by linking to __imp__optarg (auto-import)
   Info: resolving _optind by linking to __imp__optind (auto-import)
messages?

I guess it's no -W, just a diagnostic message, for which not so many 
options to supress exist.
Or can you easily declare them on the cmdline to be imported somehow?
Otherwise we'll have to decorate the src'es with DLLIMPORT.
-- 
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/

--------------080503030203040707060206
Content-Type: message/rfc822;
 name="[HACKERS] cygwin build failure"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="[HACKERS] cygwin build failure"

X-Account-Key: account1
Return-path: <pgsql-hackers-owner+M60784 AT postgresql DOT org>
Delivery-date: Sat, 06 Nov 2004 19:38:49 +0100
Received: from [213.229.60.33] (helo=smartmx-01.inode.at)
	by mailhub-01.inode.at with esmtp
	id 1CQVSb-0001cl-00; Sat, 06 Nov 2004 19:38:49 +0100
Envelope-to: ru AT x-ray DOT at
Received: from [213.229.59.242] (port=53791 helo=mailcheck1.inode.at)
	by smartmx-01.inode.at with esmtp (Exim 4.30)
	id 1CQVSc-0000rS-SZ
	for ru AT x-ray DOT at; Sat, 06 Nov 2004 19:38:50 +0100
Received: from [213.229.60.33] (helo=smartmx-01.inode.at)
	by mailcheck1.inode.at with esmtp (Exim 4.10)
	id 1CQVSc-0002uE-00
	for ru AT x-ray DOT at; Sat, 06 Nov 2004 19:38:50 +0100
Received: from [66.98.251.159] (port=3635 helo=svr4.postgresql.org)
	by smartmx-01.inode.at with esmtp (Exim 4.30)
	id 1CQVSc-0000qo-EF
	for rurban AT x-ray DOT at; Sat, 06 Nov 2004 19:38:50 +0100
Received: from postgresql.org (svr1.postgresql.org [200.46.204.71])
	by svr4.postgresql.org (Postfix) with ESMTP id CE5755AF721;
	Sat,  6 Nov 2004 18:38:47 +0000 (GMT)
X-Original-To: pgsql-hackers-postgresql DOT org AT localhost DOT postgresql DOT org
Received: from localhost (unknown [200.46.204.144])
	by svr1.postgresql.org (Postfix) with ESMTP id C2FF33A3E04
	for <pgsql-hackers-postgresql DOT org AT localhost DOT postgresql DOT org>; Sat,  6 Nov 2004 18:35:38 +0000 (GMT)
Received: from svr1.postgresql.org ([200.46.204.71])
 by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024)
 with ESMTP id 26605-10
 for <pgsql-hackers-postgresql DOT org AT localhost DOT postgresql DOT org>;
 Sat,  6 Nov 2004 18:35:32 +0000 (GMT)
Received: from trolak.mydnsbox2.com (ns1.mydnsbox2.com [207.44.142.118])
	by svr1.postgresql.org (Postfix) with ESMTP id 48CC53A4193
	for <pgsql-hackers AT postgresql DOT org>; Sat,  6 Nov 2004 18:35:32 +0000 (GMT)
Received: from dunslane.net (cpe-024-211-141-025.nc.rr.com [24.211.141.25])
	(authenticated (0 bits))
	by trolak.mydnsbox2.com (8.11.6/8.11.6) with ESMTP id iA6Ifuh18090
	for <pgsql-hackers AT postgresql DOT org>; Sat, 6 Nov 2004 12:41:56 -0600
Message-ID: <418D1972 DOT 2090802 AT dunslane DOT net>
Date: Sat, 06 Nov 2004 13:35:30 -0500
From: Andrew Dunstan <andrew AT dunslane DOT net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040116
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: PostgreSQL-development <pgsql-hackers AT postgresql DOT org>
Subject: [HACKERS] cygwin build failure
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by amavisd-new at hub.org
X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests=
X-Spam-Level: 
X-Mailing-List: pgsql-hackers
Precedence: bulk
Sender: pgsql-hackers-owner AT postgresql DOT org
X-Inode-Forwarded: rurban AT x-ray DOT at
X-Scanner: exiscan for exim4 (http://duncanthrax.net/exiscan/) *1CQVSc-0002uE-00*T2Hg6Mj5PMU*
X-Inode-SpamScore: 0.0 

As requested by Reini I set up a Cygwin buildfarm client, and immediately got this build failure:


gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -fno-strict-aliasing -g pg_dump.o common.o pg_dump_sort.o pg_backup_archiver.o pg_backup_db.o pg_backup_custom.o pg_backup_files.o pg_backup_null.o pg_backup_tar.o dumputils.o  ../../../src/backend/parser/keywords.o -L../../../src/interfaces/libpq -lpq -L../../../src/port -L/usr/local/lib  -lpgport -lcrypt -o pg_dump.exe
../../../src/port/libpgport.a(pgstrcasecmp.o)(.text+0x1b0): In function `pg_tolower':
/home/adunstan/pgbf/root/HEAD/pgsql.3200/src/port/pgstrcasecmp.c:119: multiple definition of `_pg_tolower'
../../../src/interfaces/libpq/libpq.a(dshcs00145.o)(.text+0x0): first defined here
Info: resolving _optarg by linking to __imp__optarg (auto-import)
Info: resolving _optind by linking to __imp__optind (auto-import)
collect2: ld returned 1 exit status
make[3]: *** [pg_dump] Error 1

see http://www.pgbuildfarm.org/cgi-bin/show_log.pl?nm=gibbon&dt=2004-11-06%2018:11:58

(Is it possible to get rid of those Info lines?)

cheers

andrew


---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend



--------------080503030203040707060206
Content-Type: text/plain; charset=us-ascii

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/
--------------080503030203040707060206--

- Raw text -


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