Skip to content

duplicate .debug_line sections #181

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
rillian opened this issue Nov 2, 2010 · 3 comments
Closed

duplicate .debug_line sections #181

rillian opened this issue Nov 2, 2010 · 3 comments

Comments

@rillian
Copy link
Contributor

rillian commented Nov 2, 2010

This isn't always reproducible, but for the last couple of weeks (on fedora 14) I've sometimes gotten messages like:

assemble [llvm]: test/run-pass/arith-0-boot.s
test/run-pass/arith-0-boot.s: Assembler messages:
test/run-pass/arith-0-boot.s:672: Fatal error: duplicate .debug_line sections
test/run-pass/native-mod-boot.s: Assembler messages:
test/run-pass/native-mod-boot.s:1244: Fatal error: duplicate .debug_line sections
test/run-pass/native-boot.s: Assembler messages:
test/run-pass/native-boot.s:938: Fatal error: duplicate .debug_line sections

Sadly, there really are duplicate .debug_info sections:

$ make <...> test/run-pass/arith-0-boot.s
[...]
$ fgrep -n .debug_info test/run-pass/arith-0-boot.s
241:    .section    .debug_info,"",@progbits
508:    .section    .debug_info,"",@progbits
@rillian
Copy link
Contributor Author

rillian commented Nov 2, 2010

Perhaps more helpful:

$ fgrep -n -C 3 .debug_info test/run-pass/arith-0-boot.s
238-                                        # End of file scope inline assembly
239-    .section    .debug_frame,"",@progbits
240-.Lsection_debug_frame:
241:    .section    .debug_info,"",@progbits
242-.Lsection_info:
243-    .section    .debug_abbrev,"",@progbits
244-.Lsection_abbrev:
--
505-    .uleb128    2               # Offset
506-    .align  4
507-.Ldebug_frame_end1:
508:    .section    .debug_info,"",@progbits
509-.Linfo_begin1:
510-    .long   155                     # Length of Compilation Unit Info
511-    .short  2                       # DWARF version number

@rillian
Copy link
Contributor Author

rillian commented Nov 3, 2010

Graydon commented on irc that this looked like an llvm issue, since the sections aren't being emitted directly from the rust code.

This particular report was with the Debug+Asserts build of llvm r117920 with 4.5.1 20100924 (Red Hat 4.5.1-4) on x86_64. Today's r118171 fails similarly.

@graydon
Copy link
Contributor

graydon commented Jan 27, 2011

WONTFIX (not required for bootstrapping).

keeperofdakeys pushed a commit to keeperofdakeys/rust that referenced this issue Dec 12, 2017
this fixes the siginfo_t compilation errors
rchaser53 pushed a commit to rchaser53/rust that referenced this issue Jan 19, 2019
Aaron1011 pushed a commit to Aaron1011/rust that referenced this issue Oct 26, 2020
workingjubilee pushed a commit to workingjubilee/rustc that referenced this issue Nov 10, 2021
rotate_{left,right} -> rotate_lanes_{left,right}
ZuseZ4 referenced this issue in EnzymeAD/rust Mar 7, 2023
matthiaskrgr pushed a commit to matthiaskrgr/rust that referenced this issue Mar 7, 2023
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants