From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4730 invoked by alias); 18 Jan 2008 08:59:21 -0000 Received: (qmail 4556 invoked by uid 48); 18 Jan 2008 08:58:38 -0000 Date: Fri, 18 Jan 2008 09:26:00 -0000 Message-ID: <20080118085838.4555.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug debug/34844] [4.3 Regression] /usr/ccs/bin/ld: Unsatisfied symbols: dwarf2out_switch_text_section In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "ubizjak at gmail dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-01/txt/msg01902.txt.bz2 ------- Comment #3 from ubizjak at gmail dot com 2008-01-18 08:58 ------- (In reply to comment #1) > I think dwarf2out_switch_text_section() is defined if DWARF2_DEBUGGING_INFO > is defined. So, it appears the attached change will fix the problem. No, dwarf2out_switch_text_section() has to go out of DWARF2_DEBUGGING_INFO. I didn't notice the #ifdef in the twisted maze of #ifdefs in dwarf2out.c I'll commit the patch ASAP. -- ubizjak at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |ubizjak at gmail dot com |dot org | Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2008-01-18 08:58:38 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34844