| Summary: | sys-devel/gcc-3.3.2-r4 - __guard binary scan hangs | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Toby Irvine <gentoo> |
| Component: | [OLD] Core system | Assignee: | The Gentoo Linux Hardened Team <hardened> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
gzipped text file containing output of several diagnostic tools
Collected diagnostic tool outputs. |
||
|
Description
Toby Irvine
2003-12-23 07:43:09 UTC
ouch that sounds pretty nasty. Can you give us some debug info such as your SHELL, lsof of whats happening when this is triggered, some strace info on the readelf,grep Be sure any strace info does not contain any sensative information. I'm thinking it's stuck in a read() of stdin. On another note I'm working on an ELF util that will scan your file system for ELF files for binarys that contain symbols by name. That slow find made me sick but it's a needed step for people that use -fstack-protector. Created attachment 22597 [details]
gzipped text file containing output of several diagnostic tools
Forgot to include: SHELL = /bin/bash Apologies for lengthy output from strace, it was curtailed as quickly as I could ctrl+c and I didn't want to remove information. Please reattach in non binary format. Sorry I dont trust binary formats. Created attachment 22740 [details]
Collected diagnostic tool outputs.
Re-attached as plain text.
Thanks for attaching. Does the current revision in portage work for you now? It still uses readelf ;/ The latest version hung on Step 19 - scanning /usr/sbin. On investigating I found a strange binary, a.out, a quick `strings` showed the help text for parted - the partitioning utility. On removal of this binary step 19 completed successfully and the ebuild completed without error. I haven't compiled anything outside of portage so I have no idea how it got there. Nor why it would cause the binary scan to hang. I have kept the a.out binary file if it is of any interest. scripts have been rewritten. should not cause a problem for anybody anymore. closing bug |