Opened 7 years ago
Closed 7 years ago
#10278 closed defect (overcomebyevents)
gcc-{ar,nm,ranlib} segfault when run with full path (confirmed)
Reported by: | Pierre Labastie | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 8.2 |
Component: | BOOK | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description
See http://lists.linuxfromscratch.org/pipermail/lfs-dev/2018-January/072002.html, and https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81829. But nobody has confirmed yet for BLFS...
Change History (4)
comment:1 by , 7 years ago
Summary: | gcc-{ar,nm,ranlib} segfault when run with full path (unconfirmed) → gcc-{ar,nm,ranlib} segfault when run with full path (confirmed) |
---|
comment:2 by , 7 years ago
On a relatively recent build, (started Jan 6), I cannot confirm. I ran gdb --args /usr/bin/gcc-ar with no problem.
I do not think we should be concerned with the problem in chroot. That is, by definition, a limited environment.
In addition, I expect a new release of gcc soon:
https://gcc.gnu.org/ml/gcc/2018-01/msg00115.html
Let's wait and if that does happen, this will be marked over come by events.
comment:3 by , 7 years ago
So I booted the same system as in comment:1. Here are the outputs of two commands:
pierre [ ~ ]$ gcc-ar Usage: /usr/bin/ar [emulation options] [-]{dmpqrstx}[abcDfilMNoPsSTuvV] [--plugin <name>] [member-name] [count] archive-file file... /usr/bin/ar -M [<mri-script] commands: d - delete file(s) from the archive [...] pierre [ ~ ]$ /usr/bin/gcc-ar Segmentation fault
I agree it can wait for a new version of gcc. But I am amazed you do not see the segfault. BTW, I have not tried:
pierre [ ~ ]$ /usr/bin/ar
or
pierre [ ~ ]$ ar
Maybe I should
comment:4 by , 7 years ago
Resolution: | → overcomebyevents |
---|---|
Status: | new → closed |
I have a test LFS build using gcc-7.3.0. I cannot duplicate the problem with any of gcc-{ar,nm,ranlib}.
Marking overcomebyevents in favor of ticket #10305.
confirmed in chroot on a Sys V system built in November.