[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#120828: gcc: gcc produces unusable code when compiling avifile using -mcpu=k6



reassign 120828 avifile
tags 120828 + helpneeded
thanks

Please could you retest by compiling with gcc-3.1 (and gcc-3.0)?
Please reassign back the report after the tests.

Dirk Pritsch writes:
> Package: gcc
> Version: 2:2.95.4-8
> Severity: normal
> 
> When compiling avifile sources with the option -mcpu=k6, gcc produces
> binaries which don't work as expected (they always stop with the
> message: Aborted.
> When recompiling without this compiler option the binaries work fine.
> 
> Perhaps this bug is related to #119633 which is about the same source
> (avifile) but with the option -mcpu=686 instead of -mcpu=k6. I assigned
> this bug to gcc after email contact with the avifile author, who told me
> the error is on gcc's side.
> 
> As the compile itself run's fine, the only thing I can show here is a gdb
> backtrace of an aborted avicap run. I hope this is some interesting
> information, IANAC (I am not a coder ;))
> 
> 
> Program received signal SIGABRT, Aborted.
> [Switching to Thread 1024 (LWP 5089)]
> 0x407a2911 in kill () from /lib/libc.so.6
> (gdb) bt
> #0  0x407a2911 in kill () from /lib/libc.so.6
> #1  0x400c7c0e in pthread_kill () from /lib/libpthread.so.0
> #2  0x400c80dd in raise () from /lib/libpthread.so.0
> #3  0x407a3d71 in abort () from /lib/libc.so.6
> #4  0x400833d8 in __terminate () from /usr/lib/libaviplay-0.6.so.0
> #5  0x400833f5 in __terminate () from /usr/lib/libaviplay-0.6.so.0
> #6  0x40083f87 in __throw () from /usr/lib/libaviplay-0.6.so.0
> #7  0x44b1ab64 in Module::Module () from /usr/lib/avifile0.6/libwin32.so
> #8  0x44b1b53c in VideoCodecControl::Create () from /usr/lib/avifile0.6/libwin32.so
> #9  0x44b19275 in VideoEncoder::VideoEncoder () from /usr/lib/avifile0.6/libwin32.so
> #10 0x44b04791 in CreateVideoEncoder () from /usr/lib/avifile0.6/libwin32.so
> #11 0x40053b1d in Creators::CreateVideoEncoder () from /usr/lib/libaviplay-0.6.so.0
> #12 0x40053cd1 in Creators::CreateVideoEncoder () from /usr/lib/libaviplay-0.6.so.0
> #13 0x080627de in QWidget::paintEvent ()
> #14 0x08068ebc in QWidget::paintEvent ()
> #15 0x402d3a2a in QObject::activate_signal () from /usr/lib/libqt-mt.so.2
> #16 0x403ddacd in QButton::clicked () from /usr/lib/libqt-mt.so.2
> #17 0x40331105 in QButton::mouseReleaseEvent () from /usr/lib/libqt-mt.so.2
> #18 0x40318c82 in QWidget::event () from /usr/lib/libqt-mt.so.2
> #19 0x40282f26 in QApplication::notify () from /usr/lib/libqt-mt.so.2
> #20 0x40254130 in QETWidget::translateMouseEvent () from /usr/lib/libqt-mt.so.2
> #21 0x40251a42 in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.2
> #22 0x402509ee in QApplication::processNextEvent () from /usr/lib/libqt-mt.so.2
> #23 0x40284c74 in QApplication::enter_loop () from /usr/lib/libqt-mt.so.2
> #24 0x40289cce in QDialog::show () from /usr/lib/libqt-mt.so.2
> #25 0x4028968d in QDialog::exec () from /usr/lib/libqt-mt.so.2
> #26 0x08050fab in QWidget::paintEvent ()
> #27 0x402d3cee in QObject::activate_signal () from /usr/lib/libqt-mt.so.2
> #28 0x40303e72 in QSignal::activate () from /usr/lib/libqt-mt.so.2
> #29 0x4039bf1b in QPopupMenu::mouseReleaseEvent () from /usr/lib/libqt-mt.so.2
> #30 0x40318c82 in QWidget::event () from /usr/lib/libqt-mt.so.2
> #31 0x40282f26 in QApplication::notify () from /usr/lib/libqt-mt.so.2
> #32 0x40253f49 in QETWidget::translateMouseEvent () from /usr/lib/libqt-mt.so.2
> #33 0x40251a42 in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.2
> #34 0x402509ee in QApplication::processNextEvent () from /usr/lib/libqt-mt.so.2
> #35 0x40284c74 in QApplication::enter_loop () from /usr/lib/libqt-mt.so.2
> #36 0x4039d41c in QPopupMenu::exec () from /usr/lib/libqt-mt.so.2
> #37 0x08050cea in QWidget::paintEvent ()
> #38 0x40318c82 in QWidget::event () from /usr/lib/libqt-mt.so.2
> #39 0x40282f26 in QApplication::notify () from /usr/lib/libqt-mt.so.2
> #40 0x40254130 in QETWidget::translateMouseEvent () from /usr/lib/libqt-mt.so.2
> #41 0x40251a42 in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.2
> #42 0x402509ee in QApplication::processNextEvent () from /usr/lib/libqt-mt.so.2
> #43 0x40284c74 in QApplication::enter_loop () from /usr/lib/libqt-mt.so.2
> #44 0x4025095b in QApplication::exec () from /usr/lib/libqt-mt.so.2
> #45 0x0805e030 in QWidget::paintEvent ()
> #46 0x4079265f in __libc_start_main () from /lib/libc.so.6
> 
> 
> Suggested fix: unset CFLAGS or compile without -mcpu=k6


-- 
To UNSUBSCRIBE, email to debian-gcc-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: