[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#214024: marked as done (g++: when configure scripts are over 32768 g++ fails to compile test files)



Your message dated Fri, 3 Oct 2003 20:09:23 -0500
with message-id <20031004010923.GJ23281@cheney.cx>
and subject line closing bug
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 3 Oct 2003 23:57:47 +0000
>From ccheney@conr-adsl-cheney.txucom.net Fri Oct 03 18:57:46 2003
Return-path: <ccheney@conr-adsl-cheney.txucom.net>
Received: from (pico.surpasshosting.com) [64.5.56.18] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1A5Znu-0003xH-00; Fri, 03 Oct 2003 18:57:46 -0500
Received: from conr-adsl-cheney.txucom.net ([207.70.165.48] helo=calc)
	by pico.surpasshosting.com with esmtp (TLSv1:RC4-SHA:128)
	(Exim 4.24)
	id 1A5Znl-0002H1-Iz; Fri, 03 Oct 2003 18:57:37 -0500
Received: from ccheney by calc with local (Exim 4.22)
	id 1A5Znt-0005fZ-2W; Fri, 03 Oct 2003 18:57:45 -0500
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Chris Cheney <ccheney@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: g++: when configure scripts are over 32768 g++ fails to compile test files
X-Mailer: reportbug 2.32
Date: Fri, 03 Oct 2003 18:57:44 -0500
Message-Id: <[🔎] E1A5Znt-0005fZ-2W@calc>
Sender: <ccheney@conr-adsl-cheney.txucom.net>
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - pico.surpasshosting.com
X-AntiAbuse: Original Domain - bugs.debian.org
X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12]
X-AntiAbuse: Sender Address Domain - conr-adsl-cheney.txucom.net
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-6.5 required=4.0
	tests=BAYES_01,HAS_PACKAGE
	version=2.53-bugs.debian.org_2003_10_03
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_10_03 (1.174.2.15-2003-03-30-exp)

Package: g++-3.3
Version: 1:3.3.2-0pre4
Severity: grave

Adam Heath recommended I file this bug against gcc/g++ rather than
autoconf.

The issue is as follows:

configure is over 32767 lines long
configure generates a conftest.cc file

in that conftest.cc file is the line

'#line 32780 "configure"'

since the number is greater than 32767 g++ fails saying:

conftest.cc:2:7: line number out of range

which causes the test to fail and then configure thinks option is
unavailable.

configure:32757: checking for getdomainname
configure:32807: g++ -c -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-string
s -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -fno-exceptions -fno-ch
eck-new  -pedantic-errors  -DQT_THREAD_SUPPORT  -D_REENTRANT conftest.cc >&5
conftest.cc:1:7: line number out of range
configure:32810: $? = 1
configure: failed program was:
| #line 32780 "configure"
| /* confdefs.h.  */
...

This happens on my new arts build which has updated autotools, before
updating autotools the configure script was small enough that the 32767
limit didn't affect it.

Chris Cheney

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux calc 2.4.22-bk18 #1 SMP Mon Sep 15 12:55:07 CDT 2003 i686
Locale: LANG=en_US, LC_CTYPE=en_US

Versions of packages g++-3.3 depends on:
ii  gcc-3.3                    1:3.3.2-0pre4 The GNU C compiler
ii  gcc-3.3-base               1:3.3.2-0pre4 The GNU Compiler Collection (base 
ii  libc6                      2.3.2-8       GNU C Library: Shared libraries an
ii  libstdc++5-3.3-dev         1:3.3.2-0pre4 The GNU Standard C++ Library v3 (d

-- no debconf information


---------------------------------------
Received: (at 214024-done) by bugs.debian.org; 4 Oct 2003 01:09:25 +0000
>From ccheney@conr-adsl-cheney.txucom.net Fri Oct 03 20:09:24 2003
Return-path: <ccheney@conr-adsl-cheney.txucom.net>
Received: from (pico.surpasshosting.com) [64.5.56.18] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1A5avE-0000ZY-00; Fri, 03 Oct 2003 20:09:24 -0500
Received: from conr-adsl-cheney.txucom.net ([207.70.165.48] helo=calc)
	by pico.surpasshosting.com with esmtp (TLSv1:RC4-SHA:128)
	(Exim 4.24)
	id 1A5av5-0005KZ-Bw
	for 214024-done@bugs.debian.org; Fri, 03 Oct 2003 20:09:15 -0500
Received: from ccheney by calc with local (Exim 4.22)
	id 1A5avD-0002DE-KQ
	for 214024-done@bugs.debian.org; Fri, 03 Oct 2003 20:09:23 -0500
Date: Fri, 3 Oct 2003 20:09:23 -0500
From: Chris Cheney <ccheney@cheney.cx>
To: 214024-done@bugs.debian.org
Subject: closing bug
Message-ID: <20031004010923.GJ23281@cheney.cx>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="u3W6riq+uV6J42Ub"
Content-Disposition: inline
User-Agent: Mutt/1.5.4i
Sender: <ccheney@conr-adsl-cheney.txucom.net>
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - pico.surpasshosting.com
X-AntiAbuse: Original Domain - bugs.debian.org
X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12]
X-AntiAbuse: Sender Address Domain - conr-adsl-cheney.txucom.net
Delivered-To: 214024-done@bugs.debian.org
X-Spam-Status: No, hits=-1.0 required=4.0
	tests=BAYES_20
	version=2.53-bugs.debian.org_2003_10_03
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_10_03 (1.174.2.15-2003-03-30-exp)


--u3W6riq+uV6J42Ub
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

I found out the problem. The issue is KDE uses -pedantic-errors which
causes the line # warning to be elevated to an error.

Thanks,

Chris

--u3W6riq+uV6J42Ub
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/fh3D0QZas444SvIRAn3TAKC+MkyA/1/9YIWVtDhriI2+BGvKDgCdFr7e
HWU9RXBPv1teRMtbCJ4tE9U=
=i2zX
-----END PGP SIGNATURE-----

--u3W6riq+uV6J42Ub--



Reply to: