Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50013 - sane-backends-1.0.13-r3 emerge fails with CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer"
Summary: sane-backends-1.0.13-r3 emerge fails with CFLAGS="-O3 -march=athlon-xp -fomit...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Patrick Kursawe (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-04 13:02 UTC by borisych
Modified: 2004-05-23 23:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description borisych 2004-05-04 13:03:00 UTC
gcc -c -O3 -march=athlon-xp -fomit-frame-pointer -W -Wall -DHAVE_CONFIG_H -I.
 -I. -I../include -I../include -DPATH_SANE_CONFIG_DIR=/etc/sane.d
 -DPATH_SANE_DATA_DIR=/usr/share -DV_MAJOR=1 -DV_MINOR=0 -DSTUBS
 -DBACKEND_NAME=umax umax-s.c  -fPIC -DPIC -o .libs/umax-s.o
 gcc -shared  .libs/umax.o .libs/umax-s.o .libs/sane_strstatus.o
 ../sanei/.libs/sanei_init_debug.o ../sanei/.libs/sanei_config.o
 ../lib/.libs/alloca.o ../sanei/.libs/sanei_config2.o
 ../sanei/.libs/sanei_constrain_value.o ../sanei/.libs/sanei_scsi.o
 ../sanei/.libs/sanei_usb.o ../sanei/.libs/sanei_pv8630.o  -lnsl -lm
 /usr/lib/libjpeg.so /usr/lib/libieee1284.so -ldl  -Wl,-soname
 -Wl,libsane.so.1 -o .libs/libsane-umax.so.1.0.13
 (cd .libs && rm -f libsane-umax.so.1 && ln -s libsane-umax.so.1.0.13
 libsane-umax.so.1)
 (cd .libs && rm -f libsane-umax.so && ln -s libsane-umax.so.1.0.13
 libsane-umax.so)
 creating libsane-umax.la
 (cd .libs && rm -f libsane-umax.la && ln -s ../libsane-umax.la
 libsane-umax.la)
  gcc -c -O3 -march=athlon-xp -fomit-frame-pointer -W -Wall -DHAVE_CONFIG_H
  -I. -I. -I../include -I../include -DPATH_SANE_CONFIG_DIR=/etc/sane.d
  -DPATH_SANE_DATA_DIR=/usr/share -DV_MAJOR=1 -DV_MINOR=0
  -DBACKEND_NAME=umax_pp_low -DLIBDIR=/usr/lib/sane umax_pp_low.c  -fPIC -DPIC
  -o .libs/umax_pp_low.o
  umax_pp_low.c: In function `sanei_umax_pp_ProbeScanner':
  umax_pp_low.c:6058: internal compiler error: Segmentation fault
  Please submit a full bug report,
  with preprocessed source if appropriate.
  See <URL:http://bugs.gentoo.org/> for instructions.
  The bug is not reproduceable, so it is likely a hardware or OS problem
  make[1]: *** [umax_pp_low.lo] &#1054;&#1096;&#1080;&#1073;&#1082;&#1072; 1
  make[1]: Leaving directory
  `/var/tmp/portage/sane-backends-1.0.13-r3/work/sane-backends-1.0.13/backend'
  make: *** [all-recursive] &#1054;&#1096;&#1080;&#1073;&#1082;&#1072; 1

  !!! ERROR: media-gfx/sane-backends-1.0.13-r3 failed.
  !!! Function src_compile, Line 49, Exitcode 2
  !!! (no error message)



Reproducible: Always
Steps to Reproduce:
1.
2.
3.




If change -O3 to -O2 emerge works ok.
Comment 1 Patrick Kursawe (RETIRED) gentoo-dev 2004-05-06 01:21:10 UTC
Please provide the "emerge info" output.
Comment 2 Patrick Kursawe (RETIRED) gentoo-dev 2004-05-06 06:35:08 UTC
Are you able to reproduce this bug, make it segfault every time at the same file and same code line? If no, it's likely that you have a hardware problem. At least I can't reproduce your error with the same CFLAGS and gcc 3.3.2.
Comment 3 Patrick Kursawe (RETIRED) gentoo-dev 2004-05-23 23:02:29 UTC
No reaction, assuming hardware problems.