public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/34844]  New: [Regression 4.3] /usr/ccs/bin/ld: Unsatisfied symbols: dwarf2out_switch_text_section
@ 2008-01-18  2:12 danglin at gcc dot gnu dot org
  2008-01-18  2:18 ` [Bug debug/34844] [4.3 Regression] " pinskia at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: danglin at gcc dot gnu dot org @ 2008-01-18  2:12 UTC (permalink / raw)
  To: gcc-bugs

gcc -D_XOPEN_UNIX -D_XOPEN_SOURCE_EXTENDED -D_INCLUDE__STDC_A1_SOURCE
-D_INCLUDE
_XOPEN_SOURCE_500 -static-libgcc  -o gnat1 ada/b_gnat1.o ada/adadecode.o
ada/ada
int.o ada/cstreams.o ada/cio.o ada/targtyps.o ada/decl.o ada/misc.o ada/utils.o
ada/utils2.o ada/trans.o ada/cuintp.o ada/argv.o ada/raise.o ada/init.o
ada/trac
ebak.o ada/initialize.o ada/env.o ada/ada.o ada/a-charac.o ada/a-chlat1.o
ada/a-
except.o ada/a-elchha.o ada/a-ioexce.o ada/s-memory.o ada/s-carun8.o
ada/s-casut
i.o ada/s-strcom.o ada/s-purexc.o ada/s-htable.o ada/s-traceb.o ada/s-mastop.o
a
da/ali.o ada/alloc.o ada/atree.o ada/butil.o ada/casing.o ada/checks.o
ada/compe
rr.o ada/csets.o ada/cstand.o ada/debug.o ada/debug_a.o ada/einfo.o
ada/elists.o
 ada/errout.o ada/erroutc.o ada/err_vars.o ada/eval_fat.o ada/exp_attr.o
ada/exp
_ch11.o ada/exp_ch12.o ada/exp_ch13.o ada/exp_ch2.o ada/exp_ch3.o ada/exp_ch4.o
ada/exp_ch5.o ada/exp_ch6.o ada/exp_ch7.o ada/exp_ch8.o ada/exp_ch9.o
ada/exp_co
de.o ada/exp_dbug.o ada/exp_disp.o ada/exp_atag.o ada/exp_dist.o ada/exp_fixd.o
ada/exp_aggr.o ada/exp_imgv.o ada/exp_intr.o ada/exp_pakd.o ada/exp_prag.o
ada/e
xp_sel.o ada/exp_smem.o ada/exp_strm.o ada/exp_tss.o ada/exp_util.o
ada/exp_vfpt
.o ada/expander.o ada/fname.o ada/fname-uf.o ada/fmap.o ada/freeze.o
ada/fronten
d.o ada/gnat.o ada/g-byorma.o ada/g-hesora.o ada/g-htable.o ada/s-os_lib.o
ada/g
-speche.o ada/g-spchge.o ada/g-u3spch.o ada/s-string.o ada/s-utf_32.o
ada/s-crc3
2.o ada/get_targ.o ada/gnatvsn.o ada/hlo.o ada/hostparm.o ada/impunit.o
ada/inte
rfac.o ada/itypes.o ada/inline.o ada/krunch.o ada/lib.o ada/layout.o
ada/lib-loa
d.o ada/lib-util.o ada/lib-xref.o ada/lib-writ.o ada/live.o ada/namet.o
ada/name
t-sp.o ada/nlists.o ada/nmake.o ada/opt.o ada/osint.o ada/osint-c.o
ada/output.o
 ada/par.o ada/prep.o ada/prepcomp.o ada/repinfo.o ada/restrict.o ada/rident.o
a
da/rtsfind.o ada/s-addope.o ada/s-assert.o ada/s-parame.o ada/s-stache.o
ada/s-s
talib.o ada/s-imgenu.o ada/s-imenne.o ada/s-stoele.o ada/s-soflin.o
ada/s-except
.o ada/s-exctab.o ada/s-secsta.o ada/s-strops.o ada/s-sopco3.o ada/s-sopco4.o
ad
a/s-sopco5.o ada/s-traent.o ada/s-wchcnv.o ada/s-wchcon.o ada/s-wchjis.o
ada/s-u
nstyp.o ada/scans.o ada/scng.o ada/scn.o ada/sdefault.o ada/sem.o
ada/sem_aggr.o
 ada/sem_attr.o ada/sem_cat.o ada/sem_ch10.o ada/sem_ch11.o ada/sem_ch12.o
ada/s
em_ch13.o ada/sem_ch2.o ada/sem_ch3.o ada/sem_ch4.o ada/sem_ch5.o 
ada/sem_ch6.o
 ada/sem_ch7.o ada/sem_ch8.o ada/sem_ch9.o ada/sem_case.o ada/sem_disp.o
ada/sem
_dist.o ada/sem_elab.o ada/sem_elim.o ada/sem_eval.o ada/sem_intr.o
ada/sem_maps
.o ada/sem_mech.o ada/sem_prag.o ada/sem_res.o ada/sem_smem.o ada/sem_type.o
ada
/sem_util.o ada/sem_vfpt.o ada/sem_warn.o ada/sinfo-cn.o ada/sinfo.o
ada/sinput.
o ada/sinput-d.o ada/sinput-l.o ada/snames.o ada/sprint.o ada/stand.o
ada/string
t.o ada/style.o ada/styleg.o ada/styleg-c.o ada/switch.o ada/switch-c.o
ada/styl
esw.o ada/validsw.o ada/system.o ada/table.o ada/targparm.o ada/tbuild.o
ada/tre
e_gen.o ada/tree_io.o ada/treepr.o ada/treeprs.o ada/ttypef.o ada/ttypes.o
ada/t
ypes.o ada/uintp.o ada/uname.o ada/urealp.o ada/usage.o ada/widechar.o
ada/s-crt
l.o ada/seh_init.o ada/targext.o ada/s-restri.o ada/back_end.o ada/gnat1drv.o
pr
efix.o main.o tree-browser.o libbackend.a ../libcpp/libcpp.a
../libdecnumber/lib
decnumber.a attribs.o   -g -fkeep-inline-functions -DIN_GCC   -W -Wall
-Wwrite-s
trings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-Wmissing
-format-attribute -fno-common   -DHAVE_CONFIG_H ../libcpp/libcpp.a  
../libibert
y/libiberty.a ../libdecnumber/libdecnumber.a -L/opt/gnu/gcc/gcc-4.3.0/lib
-L/opt
/gnu/gcc/gcc-4.3.0/lib -lmpfr -lgmp
/usr/ccs/bin/ld: Unsatisfied symbols:
   dwarf2out_switch_text_section (first referenced in libbackend.a(final.o))
(co
de)
collect2: ld returned 1 exit status
make[3]: *** [cc1-dummy] Error 1
make[3]: *** Waiting for unfinished jobs....
/usr/ccs/bin/ld: Unsatisfied symbols:
   dwarf2out_switch_text_section (first referenced in libbackend.a(final.o))
(co
de)
collect2: ld returned 1 exit status

The following patch is the cause:
http://gcc.gnu.org/ml/gcc-patches/2008-01/msg00612.html


-- 
           Summary: [Regression 4.3] /usr/ccs/bin/ld: Unsatisfied symbols:
                    dwarf2out_switch_text_section
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: danglin at gcc dot gnu dot org
 GCC build triplet: hppa2.0w-hp-hpux11.11
  GCC host triplet: hppa2.0w-hp-hpux11.11
GCC target triplet: hppa2.0w-hp-hpux11.11


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34844


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug debug/34844] [4.3 Regression] /usr/ccs/bin/ld: Unsatisfied symbols: dwarf2out_switch_text_section
  2008-01-18  2:12 [Bug debug/34844] New: [Regression 4.3] /usr/ccs/bin/ld: Unsatisfied symbols: dwarf2out_switch_text_section danglin at gcc dot gnu dot org
@ 2008-01-18  2:18 ` pinskia at gcc dot gnu dot org
  2008-01-18  2:25 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-01-18  2:18 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
           Keywords|                            |build
            Summary|[Regression 4.3]            |[4.3 Regression]
                   |/usr/ccs/bin/ld: Unsatisfied|/usr/ccs/bin/ld: Unsatisfied
                   |symbols:                    |symbols:
                   |dwarf2out_switch_text_sectio|dwarf2out_switch_text_sectio
                   |n                           |n
   Target Milestone|---                         |4.3.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34844


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug debug/34844] [4.3 Regression] /usr/ccs/bin/ld: Unsatisfied symbols: dwarf2out_switch_text_section
  2008-01-18  2:12 [Bug debug/34844] New: [Regression 4.3] /usr/ccs/bin/ld: Unsatisfied symbols: dwarf2out_switch_text_section danglin at gcc dot gnu dot org
  2008-01-18  2:18 ` [Bug debug/34844] [4.3 Regression] " pinskia at gcc dot gnu dot org
@ 2008-01-18  2:25 ` pinskia at gcc dot gnu dot org
  2008-01-18  3:23 ` dave at hiauly1 dot hia dot nrc dot ca
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-01-18  2:25 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |blocker


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34844


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug debug/34844] [4.3 Regression] /usr/ccs/bin/ld: Unsatisfied symbols: dwarf2out_switch_text_section
  2008-01-18  2:12 [Bug debug/34844] New: [Regression 4.3] /usr/ccs/bin/ld: Unsatisfied symbols: dwarf2out_switch_text_section danglin at gcc dot gnu dot org
  2008-01-18  2:18 ` [Bug debug/34844] [4.3 Regression] " pinskia at gcc dot gnu dot org
  2008-01-18  2:25 ` pinskia at gcc dot gnu dot org
@ 2008-01-18  3:23 ` dave at hiauly1 dot hia dot nrc dot ca
  2008-01-18  9:26 ` ubizjak at gmail dot com
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2008-01-18  3:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from dave at hiauly1 dot hia dot nrc dot ca  2008-01-18 03:04 -------
Subject: Re:  [4.3 Regression] /usr/ccs/bin/ld:
        Unsatisfied symbols: dwarf2out_switch_text_section

I think dwarf2out_switch_text_section() is defined if DWARF2_DEBUGGING_INFO
is defined.  So, it appears the attached change will fix the problem.

Dave


------- Comment #2 from dave at hiauly1 dot hia dot nrc dot ca  2008-01-18 03:04 -------
Created an attachment (id=14965)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14965&action=view)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34844


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug debug/34844] [4.3 Regression] /usr/ccs/bin/ld: Unsatisfied symbols: dwarf2out_switch_text_section
  2008-01-18  2:12 [Bug debug/34844] New: [Regression 4.3] /usr/ccs/bin/ld: Unsatisfied symbols: dwarf2out_switch_text_section danglin at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2008-01-18  3:23 ` dave at hiauly1 dot hia dot nrc dot ca
@ 2008-01-18  9:26 ` ubizjak at gmail dot com
  2008-01-18 12:09 ` ubizjak at gmail dot com
  2008-01-18 12:59 ` rguenth at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: ubizjak at gmail dot com @ 2008-01-18  9:26 UTC (permalink / raw)
  To: gcc-bugs



------- 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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug debug/34844] [4.3 Regression] /usr/ccs/bin/ld: Unsatisfied symbols: dwarf2out_switch_text_section
  2008-01-18  2:12 [Bug debug/34844] New: [Regression 4.3] /usr/ccs/bin/ld: Unsatisfied symbols: dwarf2out_switch_text_section danglin at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2008-01-18  9:26 ` ubizjak at gmail dot com
@ 2008-01-18 12:09 ` ubizjak at gmail dot com
  2008-01-18 12:59 ` rguenth at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: ubizjak at gmail dot com @ 2008-01-18 12:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from ubizjak at gmail dot com  2008-01-18 11:53 -------
Author: uros
Date: Fri Jan 18 09:55:15 2008
New Revision: 131626

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131626
Log:
        PR debug/34484
        * dwarf2out.c (dwarf2out_switch_text_section): Do not guard with
        DWARF2_DEBUGGING_INFO.
        (dwarf2out_note_section_used): Ditto.  Add prototype.
        (have_multiple_function_sections, text_section_used,
        cold_text_section_used, *cold_text_sections): Move declarations
        before their uses.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/dwarf2out.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34844


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug debug/34844] [4.3 Regression] /usr/ccs/bin/ld: Unsatisfied symbols: dwarf2out_switch_text_section
  2008-01-18  2:12 [Bug debug/34844] New: [Regression 4.3] /usr/ccs/bin/ld: Unsatisfied symbols: dwarf2out_switch_text_section danglin at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2008-01-18 12:09 ` ubizjak at gmail dot com
@ 2008-01-18 12:59 ` rguenth at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-01-18 12:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from rguenth at gcc dot gnu dot org  2008-01-18 12:47 -------
Fixed.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34844


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-01-18 12:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-18  2:12 [Bug debug/34844] New: [Regression 4.3] /usr/ccs/bin/ld: Unsatisfied symbols: dwarf2out_switch_text_section danglin at gcc dot gnu dot org
2008-01-18  2:18 ` [Bug debug/34844] [4.3 Regression] " pinskia at gcc dot gnu dot org
2008-01-18  2:25 ` pinskia at gcc dot gnu dot org
2008-01-18  3:23 ` dave at hiauly1 dot hia dot nrc dot ca
2008-01-18  9:26 ` ubizjak at gmail dot com
2008-01-18 12:09 ` ubizjak at gmail dot com
2008-01-18 12:59 ` rguenth at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).