For reasons unnoted, I had my GCC_SPECS set to the empty string, which leads to the cryptic error "gcc: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/: Is a directory". Perhaps, in the specs patch, a check for the 0-length string would be in order? Reproducible: Always Steps to Reproduce: 1. 2. 3. How to fix: --- gcc-spec-env.patch 2004-09-13 23:39:47.000000000 +0200 +++ /tmp/gcc-spec-env.patch 2004-10-21 16:08:02.377882432 +0200 @@ -6,7 +6,7 @@ line. */ + + GET_ENVIRONMENT (specs_file, "GCC_SPECS"); -+ if (specs_file) ++ if (specs_file && specs_file[0]) + { + struct user_specs *user = (struct user_specs *) + xmalloc (sizeof (struct user_specs));
*** This bug has been marked as a duplicate of 68395 ***