[Bug target/26051] New: libgcc_s.so.1 causes SEGV on Solaris 10/x86

gcc-bugzilla at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Jan 31 21:50:00 GMT 2006


Since at least 20060126, make check on Solaris 10/x86 fails with a SEGV if
expect is invoked.  I could trace this down to libgcc_s.so.1: If I point
LD_LIBRARY_PATH at the newly built libgcc_s.so.1, expect crashes
immediately, if I use one from e.g. GCC 3.1, it works as expected.  Other
programs (e.g. gctest in boehm-gc) are equally affected.

This doesn't happen e.g. in gcc 4.1.0 as of 20060117, so this is a mainline
regression.

I have not been able to really debug this since I don't get any symbols
when running under gdb.  It seems that a deep recursion (inside libgcc_s?)
is the problem:

% LD_LIBRARY_PATH=. gdb /vol/tcl-8.4/bin/expect
GNU gdb 6.3.50_2004-11-10-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-pc-solaris2.10"...
Function "fancy_abort" not defined.
Function "internal_error" not defined.
Breakpoint 1 at 0x8050894
Function "abort" not defined.
(gdb) run
Starting program: /amnt/figaro/volumes/adm-sol86/tcl-8.4/bin.sol86/expect 
warning: Lowest section in /lib/libpthread.so.1 is .dynamic at 00000074
Breakpoint 1 at 0xfecf3d40

Program received signal SIGSEGV, Segmentation fault.
0x00000216 in ?? ()
(gdb) where
#0  0x00000216 in ?? ()
#1  0x08050ad2 in frame_dummy ()
#2  0x0805124f in _init ()
#3  0x080509d7 in _start ()
#4  0x00000001 in ?? ()
#5  0x08047884 in ?? ()
#6  0x0804788c in ?? ()
#7  0x080509b9 in _start ()
#8  0x08051257 in _init ()
#9  0xfefd5bec in ?? ()
#10 0x00000000 in ?? ()
#11 0x00000000 in ?? ()
#12 0x00000001 in ?? ()
#13 0x08047998 in ?? ()
#14 0x00000000 in ?? ()
#15 0x080479d0 in ?? ()
#16 0x080479ee in ?? ()
#17 0x08047a1d in ?? ()
#18 0x08047a24 in ?? ()
#19 0x08047a37 in ?? ()
#20 0x08047a4b in ?? ()
#21 0x08047a5d in ?? ()
#22 0x08047a80 in ?? ()
#23 0x08047aa1 in ?? ()
#24 0x08047aba in ?? ()
#25 0x08047ba7 in ?? ()
#26 0x08047bc6 in ?? ()
#27 0x08047bd5 in ?? ()
#28 0x08047bdd in ?? ()
#29 0x08047bf9 in ?? ()
#30 0x08047c0f in ?? ()
#31 0x08047c29 in ?? ()
#32 0x08047c32 in ?? ()
#33 0x08047c3c in ?? ()
#34 0x08047c59 in ?? ()
#35 0x08047c60 in ?? ()
#36 0x08047c87 in ?? ()
#37 0x08047c92 in ?? ()
#38 0x08047d01 in ?? ()
#39 0x08047d2c in ?? ()
#40 0x08047d34 in ?? ()
#41 0x08047d3f in ?? ()
#42 0x08047d4a in ?? ()
#43 0x08047d5e in ?? ()
#44 0x08047d81 in ?? ()
#45 0x08047dac in ?? ()
#46 0x08047dc2 in ?? ()
#47 0x08047de3 in ?? ()
#48 0x08047df0 in ?? ()
#49 0x08047e0a in ?? ()
#50 0x08047e22 in ?? ()
#51 0x08047e30 in ?? ()
#52 0x08047e42 in ?? ()
#53 0x08047e51 in ?? ()
#54 0x08047e5c in ?? ()
#55 0x00000000 in ?? ()
#56 0x000007d8 in ?? ()
#57 0x08047fbd in ?? ()
#58 0x000007de in ?? ()
#59 0x08047fc3 in ?? ()
#60 0x00000003 in ?? ()
#61 0x08050034 in ?? ()
#62 0x00000004 in ?? ()
#63 0x00000020 in ?? ()
#64 0x00000005 in ?? ()
#65 0x00000005 in ?? ()
#66 0x00000009 in ?? ()
#67 0x08050984 in _PROCEDURE_LINKAGE_TABLE_ ()
#68 0x000007e0 in ?? ()
#69 0xfeffa000 in ?? ()
#70 0x00000007 in ?? ()
#71 0xfefc9000 in ?? ()
#72 0x00000008 in ?? ()
#73 0x00000000 in ?? ()
#74 0x00000006 in ?? ()
#75 0x00001000 in ?? ()
#76 0x000007e1 in ?? ()
#77 0x00000002 in ?? ()
#78 0x000007d9 in ?? ()
#79 0x00001ff7 in ?? ()
#80 0x00000000 in ?? ()
#81 0x00000000 in ?? ()
#82 0x6e6d612f in ?? ()
#83 0x69662f74 in ?? ()
#84 0x6f726167 in ?? ()
#85 0x6c6f762f in ?? ()
#86 0x73656d75 in ?? ()
#87 0x6d64612f in ?? ()
#88 0x6c6f732d in ?? ()
#89 0x742f3638 in ?? ()
#90 0x382d6c63 in ?? ()
#91 0x622f342e in ?? ()
#92 0x732e6e69 in ?? ()
#93 0x36386c6f in ?? ()
#94 0x7078652f in ?? ()
#95 0x00746365 in ?? ()
#96 0x4c49414d in ?? ()
#97 0x48544150 in ?? ()
#98 0x6f682f3d in ?? ()
#99 0x2f73656d in ?? ()
#100 0x6d2f6f72 in ?? ()
#101 0x2f6c6961 in ?? ()
#102 0x6f626e69 in ?? ()
#103 0x57500078 in ?? ()
#104 0x762f3d44 in ?? ()
#105 0x672f6c6f in ?? ()
#106 0x6f2f6363 in ?? ()
#107 0x672f6a62 in ?? ()
#108 0x342d6363 in ?? ()
#109 0x302e322e in ?? ()
#110 0x3030322d in ?? ()
#111 0x33313036 in ?? ()
#112 0x30312f31 in ?? ()
#113 0x6363672d in ?? ()
#114 0x6363672f in ?? ()
#115 0x3d5a5400 in ?? ()
#116 0x0054454d in ?? ()
#117 0x444e4957 in ?? ()
#118 0x4449574f in ?? ()
#119 0x3038313d in ?? ()
#120 0x30353533 in ?? ()
#121 0x48003838 in ?? ()
#122 0x4e54534f in ?? ()
#123 0x3d454d41 in ?? ()
#124 0x74737561 in ?? ()
#125 0x696c6172 in ?? ()
#126 0x4c006e65 in ?? ()
#127 0x494c5f44 in ?? ()
#128 0x52415242 in ?? ()
#129 0x41505f59 in ?? ()
#130 0x2e3d4854 in ?? ()
#131 0x534f4800 in ?? ()
#132 0x494c4154 in ?? ()
#133 0x53455341 in ?? ()
#134 0x6f682f3d in ?? ()
#135 0x2f73656d in ?? ()
#136 0x2e2f6f72 in ?? ()
#137 0x74736f68 in ?? ()
#138 0x61696c61 in ?? ()
#139 0x00736573 in ?? ()
#140 0x4f525053 in ?? ()
#141 0x54454e5f in ?? ()
#142 0x4e414542 in ?? ()
#143 0x4f485f53 in ?? ()
#144 0x2f3d454d in ?? ()
#145 0x2f74706f in ?? ()
#146 0x6274656e in ?? ()
#147 0x736e6165 in ?? ()
#148 0x45504f00 in ?? ()
#149 0x4e49574e in ?? ()
#150 0x454d4f48 in ?? ()
#151 0x73752f3d in ?? ()
#152 0x706f2f72 in ?? ()
#153 0x69776e65 in ?? ()
#154 0x414d006e in ?? ()
#155 0x5441504e in ?? ()
#156 0x6f2f3d48 in ?? ()
#157 0x532f7470 in ?? ()
#158 0x73574e55 in ?? ()
#159 0x2f6f7270 in ?? ()
#160 0x3a6e616d in ?? ()
#161 0x6c6f762f in ?? ()
#162 0x7265702f in ?? ()
#163 0x2e352d6c in ?? ()
#164 0x616d2f38 in ?? ()
#165 0x762f3a6e in ?? ()
#166 0x672f6c6f in ?? ()
#167 0x6d2f6363 in ?? ()
#168 0x2f3a6e61 in ?? ()
#169 0x2f6c6f76 in ?? ()
#170 0x2f6d6461 in ?? ()
#171 0x3a6e616d in ?? ()
#172 0x6c6f762f in ?? ()
#173 0x756e672f in ?? ()
#174 0x6e616d2f in ?? ()
#175 0x6f762f3a in ?? ()
#176 0x6f6c2f6c in ?? ()
#177 0x2f6c6163 in ?? ()
#178 0x3a6e616d in ?? ()
#179 0x6c6f762f in ?? ()
#180 0x3131582f in ?? ()
#181 0x6e616d2f in ?? ()
#182 0x6f762f3a in ?? ()
#183 0x65742f6c in ?? ()
#184 0x2f372d78 in ?? ()
#185 0x3a6e616d in ?? ()
#186 0x6c6f762f in ?? ()
#187 0x6e616d2f in ?? ()
#188 0x6f762f3a in ?? ()
#189 0x63742f6c in ?? ()
#190 0x2e382d6c in ?? ()
#191 0x616d2f34 in ?? ()
#192 0x762f3a6e in ?? ()
#193 0x742f6c6f in ?? ()
#194 0x63736c63 in ?? ()
#195 0x74706972 in ?? ()
#196 0x6e616d2f in ?? ()
#197 0x6f762f3a in ?? ()
#198 0x63742f6c in ?? ()
#199 0x616d2f6c in ?? ()
#200 0x762f3a6e in ?? ()
#201 0x742f6c6f in ?? ()
#202 0x63736c63 in ?? ()
#203 0x74706972 in ?? ()
#204 0x6e616d2f in ?? ()
#205 0x706f2f3a in ?? ()
#206 0x55532f74 in ?? ()
#207 0x6773574e in ?? ()
#208 0x616d2f65 in ?? ()
#209 0x752f3a6e in ?? ()
#210 0x6f2f7273 in ?? ()
#211 0x776e6570 in ?? ()
#212 0x6d2f6e69 in ?? ()
#213 0x54006e61 in ?? ()
#214 0x494d5245 in ?? ()
#215 0x3d4f464e in ?? ()
#216 0x6c6f762f in ?? ()
#217 0x3131582f in ?? ()
#218 0x62696c2f in ?? ()
#219 0x7265742f in ?? ()
#220 0x666e696d in ?? ()
#221 0x5454006f in ?? ()
#222 0x642f3d59 in ?? ()
#223 0x702f7665 in ?? ()
#224 0x362f7374 in ?? ()
#225 0x45535500 in ?? ()
#226 0x6f723d52 in ?? ()
#227 0x43414d00 in ?? ()
#228 0x50595448 in ?? ()
#229 0x33693d45 in ?? ()
#230 0x702d3638 in ?? ()
#231 0x6f732d63 in ?? ()
#232 0x6972616c in ?? ()
#233 0x382e3273 in ?? ()
#234 0x45475300 in ?? ()
#235 0x4f4f525f in ?? ()
#236 0x6f2f3d54 in ?? ()
#237 0x532f7470 in ?? ()
#238 0x73574e55 in ?? ()
#239 0x4d006567 in ?? ()
#240 0x3d4c4941 in ?? ()
#241 0x6d6f682f in ?? ()
#242 0x722f7365 in ?? ()
#243 0x616d2f6f in ?? ()
#244 0x692f6c69 in ?? ()
#245 0x786f626e in ?? ()
#246 0x4e494c00 in ?? ()
#247 0x323d5345 in ?? ()
#248 0x44450034 in ?? ()
#249 0x524f5449 in ?? ()
#250 0x0069763d in ?? ()
#251 0x4d524554 in ?? ()
#252 0x3d504143 in ?? ()
#253 0x6c6f762f in ?? ()
#254 0x3131582f in ?? ()
#255 0x62696c2f in ?? ()
#256 0x7265742f in ?? ()
#257 0x7061636d in ?? ()
#258 0x4e414c00 in ?? ()
#259 0x00433d47 in ?? ()
#260 0x43584554 in ?? ()
#261 0x49464e4f in ?? ()
#262 0x682f3d47 in ?? ()
#263 0x73656d6f in ?? ()
#264 0x2f6f722f in ?? ()
#265 0x2f786574 in ?? ()
#266 0x666e6f63 in ?? ()
#267 0x642f6769 in ?? ()
#268 0x73706976 in ?? ()
#269 0x41003a3a in ?? ()
#270 0x3d484352 in ?? ()
#271 0x386c6f73 in ?? ()
#272 0x43520036 in ?? ()
#273 0x4f464e49 in ?? ()
#274 0x494c495f in ?? ()
#275 0x673d5453 in ?? ()
#276 0x6e206363 in ?? ()
#277 0x63737465 in ?? ()
#278 0x20657061 in ?? ()
#279 0x6c726570 in ?? ()
#280 0x382e352d in ?? ()
#281 0x6c637420 in ?? ()
#282 0x342e382d in ?? ()
#283 0x6c637420 in ?? ()
#284 0x72636120 in ?? ()
#285 0x7461626f in ?? ()
#286 0x72707320 in ?? ()
#287 0x7061206f in ?? ()
#288 0x65626f72 in ?? ()
#289 0x736e6920 in ?? ()
#290 0x20657275 in ?? ()
#291 0x69727570 in ?? ()
#292 0x6c707966 in ?? ()
#293 0x67207375 in ?? ()
#294 0x65646972 in ?? ()
#295 0x6e69676e in ?? ()
#296 0x79732065 in ?? ()
#297 0x6c65626d in ?? ()
#298 0x65706f20 in ?? ()
#299 0x6e69776e in ?? ()
#300 0x53494400 in ?? ()
#301 0x59414c50 in ?? ()
#302 0x6e616d3d in ?? ()
#303 0x542e6d61 in ?? ()
#304 0x46686365 in ?? ()
#305 0x552e6b61 in ?? ()
#306 0x422d696e in ?? ()
#307 0x656c6569 in ?? ()
#308 0x646c6566 in ?? ()
#309 0x3a45442e in ?? ()
#310 0x00302e30 in ?? ()
#311 0x564c4853 in ?? ()
#312 0x00323d4c in ?? ()
#313 0x4e474f4c in ?? ()
#314 0x3d454d41 in ?? ()
#315 0x43006f72 in ?? ()
#316 0x4d554c4f in ?? ()
#317 0x383d534e in ?? ()
#318 0x434c0030 in ?? ()
#319 0x5954435f in ?? ()
#320 0x693d4550 in ?? ()
#321 0x385f6f73 in ?? ()
#322 0x5f393538 in ?? ()
#323 0x45540031 in ?? ()
#324 0x504e4958 in ?? ()
#325 0x3d535455 in ?? ()
#326 0x6d6f682f in ?? ()
#327 0x722f7365 in ?? ()
#328 0x65742f6f in ?? ()
#329 0x6e692f78 in ?? ()
#330 0x73747570 in ?? ()
#331 0x3a3a2f2f in ?? ()
#332 0x49564400 in ?? ()
#333 0x45485350 in ?? ()
#334 0x52454441 in ?? ()
#335 0x682f3d53 in ?? ()
#336 0x73656d6f in ?? ()
#337 0x2f6f722f in ?? ()
#338 0x2f786574 in ?? ()
#339 0x746e6f66 in ?? ()
#340 0x79742f73 in ?? ()
#341 0x2f316570 in ?? ()
#342 0x003a3a2f in ?? ()
#343 0x752f3d5f in ?? ()
#344 0x6c2f7273 in ?? ()
#345 0x6c61636f in ?? ()
#346 0x6e69622f in ?? ()
#347 0x7361622f in ?? ()
#348 0x45540068 in ?? ()
#349 0x4e4f4658 in ?? ()
#350 0x2f3d5354 in ?? ()
#351 0x656d6f68 in ?? ()
#352 0x6f722f73 in ?? ()
#353 0x7865742f in ?? ()
#354 0x6e6f662f in ?? ()
#355 0x2f2f7374 in ?? ()
#356 0x50003a3a in ?? ()
#357 0x544e4952 in ?? ()
#358 0x703d5245 in ?? ()
#359 0x00737069 in ?? ()
#360 0x4c454853 in ?? ()
#361 0x752f3d4c in ?? ()
#362 0x6c2f7273 in ?? ()
#363 0x6c61636f in ?? ()
#364 0x6e69622f in ?? ()
#365 0x7361622f in ?? ()
#366 0x56430068 in ?? ()
#367 0x4f4f5253 in ?? ()
#368 0x762f3d54 in ?? ()
#369 0x732f6c6f in ?? ()
#370 0x6d2f6372 in ?? ()
#371 0x65747361 in ?? ()
#372 0x4f480072 in ?? ()
#373 0x59545453 in ?? ()
#374 0x693d4550 in ?? ()
#375 0x00363833 in ?? ()
#376 0x5954534f in ?? ()
#377 0x733d4550 in ?? ()
#378 0x72616c6f in ?? ()
#379 0x2e327369 in ?? ()
#380 0x4f480038 in ?? ()
#381 0x2f3d454d in ?? ()
#382 0x656d6f68 in ?? ()
#383 0x6f722f73 in ?? ()
#384 0x52455400 in ?? ()
#385 0x74783d4d in ?? ()
#386 0x006d7265 in ?? ()
#387 0x48544150 in ?? ()
#388 0x6f682f3d in ?? ()
#389 0x2f73656d in ?? ()
#390 0x622f6f72 in ?? ()
#391 0x2f3a6e69 in ?? ()
#392 0x656d6f68 in ?? ()
#393 0x6f722f73 in ?? ()
#394 0x6e69622f in ?? ()
#395 0x6c6f732f in ?? ()
#396 0x2f3a3638 in ?? ()
#397 0x2f74706f in ?? ()
#398 0x574e5553 in ?? ()
#399 0x6f727073 in ?? ()
#400 0x6e69622f in ?? ()
#401 0x6f762f3a in ?? ()
#402 0x65702f6c in ?? ()
#403 0x352d6c72 in ?? ()
#404 0x622f382e in ?? ()
#405 0x2f3a6e69 in ?? ()
#406 0x2f6c6f76 in ?? ()
#407 0x7374656e in ?? ()
#408 0x65706163 in ?? ()
#409 0x6e69622f in ?? ()
#410 0x6f762f3a in ?? ()
#411 0x63672f6c in ?? ()
#412 0x69622f63 in ?? ()
#413 0x762f3a6e in ?? ()
#414 0x612f6c6f in ?? ()
#415 0x622f6d64 in ?? ()
#416 0x2f3a6e69 in ?? ()
#417 0x2f727375 in ?? ()
#418 0x61636f6c in ?? ()
#419 0x62732f6c in ?? ()
#420 0x2f3a6e69 in ?? ()
#421 0x2f6c6f76 in ?? ()
#422 0x2f756e67 in ?? ()
#423 0x3a6e6962 in ?? ()
#424 0x6c6f762f in ?? ()
#425 0x636f6c2f in ?? ()
#426 0x622f6c61 in ?? ()
#427 0x2f3a6e69 in ?? ()
#428 0x2f6c6f76 in ?? ()
#429 0x2f313158 in ?? ()
#430 0x3a6e6962 in ?? ()
#431 0x6c6f762f in ?? ()
#432 0x7865742f in ?? ()
#433 0x622f372d in ?? ()
#434 0x2f3a6e69 in ?? ()
#435 0x2f727375 in ?? ()
#436 0x3a6e6962 in ?? ()
#437 0x7273752f in ?? ()
#438 0x7363632f in ?? ()
#439 0x6e69622f in ?? ()
#440 0x73752f3a in ?? ()
#441 0x63752f72 in ?? ()
#442 0x752f3a62 in ?? ()
#443 0x732f7273 in ?? ()
#444 0x3a6e6962 in ?? ()
#445 0x762f3a2e in ?? ()
#446 0x742f6c6f in ?? ()
#447 0x382d6c63 in ?? ()
#448 0x622f342e in ?? ()
#449 0x2f3a6e69 in ?? ()
#450 0x2f6c6f76 in ?? ()
#451 0x736c6374 in ?? ()
#452 0x70697263 in ?? ()
#453 0x69622f74 in ?? ()
#454 0x762f3a6e in ?? ()
#455 0x742f6c6f in ?? ()
#456 0x622f6c63 in ?? ()
#457 0x2f3a6e69 in ?? ()
#458 0x2f6c6f76 in ?? ()
#459 0x736c6374 in ?? ()
#460 0x70697263 in ?? ()
#461 0x69622f74 in ?? ()
#462 0x762f3a6e in ?? ()
#463 0x612f6c6f in ?? ()
#464 0x626f7263 in ?? ()
#465 0x622f7461 in ?? ()
#466 0x2f3a6e69 in ?? ()
#467 0x2f74706f in ?? ()
#468 0x574e5553 in ?? ()
#469 0x2f656773 in ?? ()
#470 0x3a6e6962 in ?? ()
#471 0x7273752f in ?? ()
#472 0x65706f2f in ?? ()
#473 0x6e69776e in ?? ()
#474 0x6e69622f in ?? ()
#475 0x36386900 in ?? ()
#476 0x2f006370 in ?? ()
#477 0x746e6d61 in ?? ()
#478 0x6769662f in ?? ()
#479 0x2f6f7261 in ?? ()
#480 0x756c6f76 in ?? ()
#481 0x2f73656d in ?? ()
#482 0x2d6d6461 in ?? ()
#483 0x386c6f73 in ?? ()
#484 0x63742f36 in ?? ()
#485 0x2e382d6c in ?? ()
#486 0x69622f34 in ?? ()
#487 0x6f732e6e in ?? ()
#488 0x2f36386c in ?? ()
#489 0x65707865 in ?? ()
#490 0x00007463 in ?? ()
#491 0x00000000 in ?? ()
Cannot access memory at address 0x8048000

Environment:
System: SunOS australien 5.10 Generic_118844-19 i86pc i386 i86pc
Architecture: i86pc


host: i386-pc-solaris2.10
build: i386-pc-solaris2.10
target: i386-pc-solaris2.10
configured with: /vol/gcc/src/gcc-dist/configure --prefix=/vol/gcc
--with-local-prefix=/vol/gcc --disable-nls --disable-multilib
--with-gmp-dir=/vol/gnu/obj/gmp-4.1.3
--with-mpfr-dir=/vol/gnu/obj/gmp-4.1.3/mpfr
--enable-languages=c,c++,fortran,java,objc,ada --disable-libmudflap

How-To-Repeat:
Bootstrap and test mainline as described above.


-- 
           Summary: libgcc_s.so.1 causes SEGV on Solaris 10/x86
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ro at techfak dot uni-bielefeld dot de
 GCC build triplet: i386-pc-solaris2.10
  GCC host triplet: i386-pc-solaris2.10
GCC target triplet: i386-pc-solaris2.10


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



More information about the Gcc-bugs mailing list