If I compile a trivial foo.c in the unstable chroot with gcc-3.4, and
then immediately try to run it, it segfaults.  If I then exit the
chroot and re-enter, it runs fine.

  (base)[EMAIL PROTECTED]:~$ mkdir test 
  (base)[EMAIL PROTECTED]:~$ dchroot unstable
  Executing shell in chroot: /org/chroots/user/sid
  (unstable)[EMAIL PROTECTED]:~$ cd test
  (unstable)[EMAIL PROTECTED]:~/test$ cat > foo.c <<EOF
  > int main(int argc, char **argv) { return 0; }
  > EOF
  (unstable)[EMAIL PROTECTED]:~/test$ gcc-3.4 -Wall -Werror foo.c
  (unstable)[EMAIL PROTECTED]:~/test$ ./a.out
  Segmentation fault
  (unstable)[EMAIL PROTECTED]:~/test$ logout
  (base)[EMAIL PROTECTED]:~$ dchroot unstable
  Executing shell in chroot: /org/chroots/user/sid
  (unstable)[EMAIL PROTECTED]:~$ cd test
  (unstable)[EMAIL PROTECTED]:~/test$ ./a.out
  (unstable)[EMAIL PROTECTED]:~/test$ 

-- 
Rob Browning
rlb @defaultvalue.org and @debian.org; previously @cs.utexas.edu
GPG starting 2002-11-03 = 14DD 432F AE39 534D B592  F9A0 25C8 D377 8C7E 73A4


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to