https://bugzilla.novell.com/show_bug.cgi?id=247676 Summary: as segfaults when target dir does not exist Product: openSUSE 10.2 Version: Final Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Development AssignedTo: pth@novell.com ReportedBy: schlenk@uni-oldenburg.de QAContact: qa@suse.de as segfaults during a trivial compile. Trivial test case: echo "int main(int argc, char** argv) {return 0;}" >test.c gcc -c test.c -o nosuchdir/test.o Assembler messages: Fatal error: can't create nosuchdir/test.o: No such file or directory gcc: Internal error: Speicherzugriffsfehler (program as) as --version GNU assembler 2.17.50.0.5 20060927 (SUSE Linux) gdb backtrace: Core was generated by `/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/as -Qy'. Program terminated with signal 11, Segmentation fault. #0 0x00002ae245c56a19 in bfd_close () from /usr/lib64/libbfd-2.17.50.0.5.so (gdb) bt #0 0x00002ae245c56a19 in bfd_close () from /usr/lib64/libbfd-2.17.50.0.5.so #1 0x0000000000413d1d in xmalloc () #2 0x00000000004319ba in xmalloc () #3 0x00002ae245d335e4 in xexit () from /usr/lib64/libbfd-2.17.50.0.5.so #4 0x0000000000413568 in xmalloc () #5 0x0000000000413e71 in xmalloc () #6 0x0000000000405265 in xmalloc () #7 0x00002ae245fbdae4 in __libc_start_main () from /lib64/libc.so.6 #8 0x0000000000402919 in xmalloc () #9 0x00007fff650ceb58 in ?? () #10 0x0000000000000000 in ?? () This libc version: schlenk@chronos:~/devel/ceptcl/build2/new> /lib/libc.so.6 GNU C Library stable release version 2.5 (20061011), by Roland McGrath et al. Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Configured for i686-suse-linux. Compiled by GNU CC version 4.1.2 20061115 (prerelease) (SUSE Linux). Compiled on a Linux 2.6.18 system on 2006-11-26. Available extensions: crypt add-on version 2.1 by Michael Glad and others GNU Libidn by Simon Josefsson GNU libio by Per Bothner NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk NoVersion patch for broken glibc 2.0 binaries Native POSIX Threads Library by Ulrich Drepper et al BIND-8.2.3-T5B Thread-local storage support included. Linux chronos 2.6.16.21-0.13-smp #1 SMP Mon Jul 17 17:22:44 UTC 2006 x86_64 x86_64 x86_64 GNU/Linux -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.