From: Blaisorblade <blaisorblade@yahoo.it>
To: user-mode-linux-devel@lists.sourceforge.net
Subject: [uml-devel] UML/64bit is miscompiled by gcc 4.0.3 on Ubuntu 6.06 LTS
Date: Wed, 17 Jan 2007 17:15:35 +0100 [thread overview]
Message-ID: <200701171715.35504.blaisorblade@yahoo.it> (raw)
I've found now the time to run a test, and I found that while on Ubuntu, until
now, I couldn't compile a 64bit UML (I thought of some regression I didn't
have the time to debug), compiling the same code with gcc 3.4 gets a fully
working UML.
The used UML is release 2.6.18.6.
Ubuntu's gcc is:
$ gcc -v
Using built-in specs.
Target: x86_64-linux-gnu
Configured
with: ../src/configure -v --enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.0 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-awt=gtk-default --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre --enable-mpfr --disable-werror --enable-checking=release
x86_64-linux-gnu
Thread model: posix
gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)
Without any errors, after these messages:
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
it hangs giving the following result at strace -p (I've printed two
consecutive iterations of the same messages to show that they are the same):
--- SIGCHLD (Child exited) @ 0 (0) ---
wait4(31586, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGSEGV}], WSTOPPED, NULL) =
31586
ptrace(PTRACE_GETREGS, 31586, 0, 0x6096dac8) = 0
ptrace(PTRACE_GETFPREGS, 31586, 0, 0x6096dba0) = 0
ptrace(PTRACE_CONT, 31586, 0, SIGSEGV) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
wait4(31586, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGUSR1}], WSTOPPED, NULL) =
31586
ptrace(PTRACE_SETREGS, 31586, 0, 0x6096dac8) = 0
ptrace(PTRACE_SETFPREGS, 31586, 0, 0x6096dba0) = 0
ptrace(PTRACE_SYSCALL, 31586, 0, SIG_0) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
wait4(31586, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGSEGV}], WSTOPPED, NULL) =
31586
ptrace(PTRACE_GETREGS, 31586, 0, 0x6096dac8) = 0
ptrace(PTRACE_GETFPREGS, 31586, 0, 0x6096dba0) = 0
ptrace(PTRACE_CONT, 31586, 0, SIGSEGV) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
wait4(31586, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGUSR1}], WSTOPPED, NULL) =
31586
ptrace(PTRACE_SETREGS, 31586, 0, 0x6096dac8) = 0
ptrace(PTRACE_SETFPREGS, 31586, 0, 0x6096dba0) = 0
ptrace(PTRACE_SYSCALL, 31586, 0, SIG_0) = 0
I'll have to verify whether some code in the stubs is miscompiled. But not
until... well, I dunno when I'll be back...
Anybody else with the same problem?
--
Inform me of my mistakes, so I can add them to my list!
Paolo Giarrusso, aka Blaisorblade
http://www.user-mode-linux.org/~blaisorblade
Chiacchiera con i tuoi amici in tempo reale!
http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
next reply other threads:[~2007-01-17 16:16 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-17 16:15 Blaisorblade [this message]
2007-01-17 18:17 ` [uml-devel] UML/64bit is miscompiled by gcc 4.0.3 on Ubuntu 6.06 LTS Christopher S. Aker
2007-01-17 18:15 ` Antoine Martin
2007-01-17 19:50 ` Antoine Martin
2007-01-19 11:00 ` [uml-devel] buggy UML AMD64? Antoine Martin
2007-01-19 16:07 ` Daniel Gryniewicz
2007-01-19 16:14 ` Antoine Martin
2007-01-19 16:38 ` Daniel Gryniewicz
2007-01-19 16:42 ` Antoine Martin
2007-01-19 17:33 ` Antoine Martin
2007-01-19 19:56 ` Antoine Martin
2007-01-21 9:17 ` Boaz Harrosh
2007-01-21 13:04 ` Antoine Martin
2007-01-23 15:20 ` Boaz Harrosh
2007-01-21 14:38 ` Joel Palmius
2007-01-21 14:46 ` Antoine Martin
2007-01-21 14:55 ` Joel Palmius
2007-01-21 16:11 ` Joel Palmius
2007-01-22 22:09 ` Jeff Dike
2007-01-23 0:59 ` Antoine Martin
2007-01-19 16:38 ` Antoine Martin
2007-02-15 3:43 ` [uml-devel] UML/64bit is miscompiled by gcc 4.0.3 on Ubuntu 6.06 LTS Blaisorblade
2007-01-19 23:31 ` Blaisorblade
2007-01-17 23:26 ` Jeff Dike
2007-01-19 23:18 ` Blaisorblade
2007-01-22 20:59 ` Jeff Dike
2007-01-23 8:09 ` Blaisorblade
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200701171715.35504.blaisorblade@yahoo.it \
--to=blaisorblade@yahoo.it \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox