Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jul 2000 02:44:20 +0200 (CEST)
From:      "Bradley T. Hughes" <bhughes@trolltech.com>
To:        "Chris D. Faulhaber" <jedgar@fxp.org>
Cc:        freebsd-stable@FreeBSD.org, obrien@FreeBSD.org
Subject:   Re: More optimization issues?
Message-ID:  <Pine.BSF.4.21.0007120243420.7096-100000@reticent.troll.no>
In-Reply-To: <Pine.BSF.4.21.0007111932550.1603-100000@earth.causticlabs.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 11 Jul 2000, Chris D. Faulhaber wrote:

> While porting another program, I found the following:
> 
> Using the default CXXFLAGS (-O -pipe):

you might try adding -fsquangle to the CXXFLAGS and see if that helps

> $ g++  -O -pipe ud2cd.cc -o ud2cd
> /tmp/ccOo2151.o(.gnu.linkonce.d._vt$Q37context20do_hunks__7context.2_11_prep_spa
> ce+0xc): undefined reference to
> `fn__Q37context20do_hunks__7context.2_11_prep_sp
> aceRC6string.671'
> /tmp/ccOo2151.o(.gnu.linkonce.d._vt$Q57context20do_hunks__7context.4_17_two_piec
> e_buffer60done__Q37context20do_hunks__7context.1_17_two_piece_buffer.5_10_prep_p
> lus+0xc): undefined reference to
> `fn__Q57context20do_hunks__7context.4_17_two_pi
> ece_buffer60done__Q37context20do_hunks__7context.1_17_two_piece_buffer.5_10_prep
> _plusRC6string.643'
> /tmp/ccOo2151.o(.gnu.linkonce.d._vt$Q57context20do_hunks__7context.2_17_two_piec
> e_buffer60done__Q37context20do_hunks__7context.1_17_two_piece_buffer.3_11_prep_m
> inus+0xc): undefined reference to
> `fn__Q57context20do_hunks__7context.2_17_two_p
> iece_buffer60done__Q37context20do_hunks__7context.1_17_two_piece_buffer.3_11_pre
> p_minusRC6string.633'
> /tmp/ccOo2151.o(.gnu.linkonce.d._vt$Q57context20do_hunks__7context.0_17_two_piec
> e_buffer60done__Q37context20do_hunks__7context.1_17_two_piece_buffer.1_12_prep_e
> xclam+0xc): undefined reference to
> `fn__Q57context20do_hunks__7context.0_17_two_
> piece_buffer60done__Q37context20do_hunks__7context.1_17_two_piece_buffer.1_12_pr
> ep_exclamRC6string.614'
> $
> 
> Without CXXFLAGS:
> $ g++  ud2cd.cc -o ud2cd
> $
> 
> The sources are
> at: ftp://ftp.ilog.fr/pub/Users/haible/gnu/diffconvert-1.2.tar.gz
> 
> Is a source problem or another optimization issue?
> 
> FreeBSD earth.causticlabs.com 4.0-STABLE FreeBSD 4.0-STABLE #3: Fri Jul  7 
> 21:12:17 EDT 2000 jedgar@earth.causticlabs.com:/usr/src/sys/compile/EARTH
> i386
> 
> Note: This happens on RELENG_4 before and after the binutils update.
>       CFLAGS and CXXFLAGS are not set in /etc/make.conf
> 
> -----
> Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org
> --------------------------------------------------------
> FreeBSD: The Power To Serve   -   http://www.FreeBSD.org
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-stable" in the body of the message
> 

--
Bradley T. Hughes <bhughes@trolltech.com>
Waldemar Thranes gt. 98B N-0175 Oslo, Norway
Office: +47 21 60 48 92
Mobile: +47 92 01 97 81



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0007120243420.7096-100000>