Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 187899 - dev-lang/smarteiffel-2.2 - installer doesn't like gcc-4.2.0 and -O2
Summary: dev-lang/smarteiffel-2.2 - installer doesn't like gcc-4.2.0 and -O2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Maintainers for Miscelleneous Language Packages [OBSOLETE]
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks: gcc-4.2
  Show dependency tree
 
Reported: 2007-08-06 11:05 UTC by marty rosenberg
Modified: 2009-11-14 16:58 UTC (History)
1 user (show)

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


Attachments
emerge --info (emerge_info.txt,8.77 KB, text/plain)
2007-08-06 19:07 UTC, marty rosenberg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description marty rosenberg 2007-08-06 11:05:44 UTC
smarteiffel has an installation program that for whatever reason is compiled.  it looks like it's been auto-generated from eiffel code, so I don't really want to find out what's wrong with it.  Anyhow, since this is only the installation program and 99.9% of the installation time is taken up by gcc, and not the installer, this can be alleviated by not using CFLAGS when compiling the installer.  Alternatively, the CFLAGS can be stripped of -O2 only for the installer.  I also seem to remember this package compiling with gcc-4.1.2, so this is also definitely a problem with the new version of gcc.

Side Note:
I know I shouldn't be running a system like this, but then I have far too much free time on my hands.
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2007-08-06 17:16:18 UTC
emerge --info please.
Comment 2 marty rosenberg 2007-08-06 19:07:45 UTC
Created attachment 127094 [details]
emerge --info
Comment 3 Erik 2008-04-21 10:19:11 UTC
This Works For Me with gcc-4.2.3 and -O3. Please try again with gcc-4.2.3.
Comment 4 marty rosenberg 2008-04-21 21:43:15 UTC
(In reply to comment #3)
> This Works For Me with gcc-4.2.3 and -O3. Please try again with gcc-4.2.3.
> 

New system now.  This is now an amd-64 box.  I'm getting the following errors:

System call "gcc -o compile_to_c compile_to_c[1-9].o compile_to_c[1-2][0-9].o compile_to_c3[0-7].o -x none -lm ".
System call "/var/tmp/portage/dev-lang/smarteiffel-2.2/work/SmartEiffel/bin/compile_to_c -boost -no_gc -relax -o compile_to_c compile_to_c".
Received signal 11.
Eiffel program crash at run time.
No trace when using option "-boost"
Last system call failed (error reported).
System call "/var/tmp/portage/dev-lang/smarteiffel-2.2/work/SmartEiffel/bin/compile_to_c -boost -no_gc -relax -o compile_to_c compile_to_c" failed.
System call "/var/tmp/portage/dev-lang/smarteiffel-2.2/work/SmartEiffel/bin/clean compile_to_c".
sh: /var/tmp/portage/dev-lang/smarteiffel-2.2/work/SmartEiffel/bin/clean: No such file or directory
Last system call failed (error reported).
System call "/var/tmp/portage/dev-lang/smarteiffel-2.2/work/SmartEiffel/bin/clean compile_to_c" failed.
System call "/var/tmp/portage/dev-lang/smarteiffel-2.2/work/SmartEiffel/bin/clean compile".
sh: /var/tmp/portage/dev-lang/smarteiffel-2.2/work/SmartEiffel/bin/clean: No such file or directory
Last system call failed (error reported).
System call "/var/tmp/portage/dev-lang/smarteiffel-2.2/work/SmartEiffel/bin/clean compile" failed.
System call "/var/tmp/portage/dev-lang/smarteiffel-2.2/work/SmartEiffel/bin/clean clean".
sh: /var/tmp/portage/dev-lang/smarteiffel-2.2/work/SmartEiffel/bin/clean: No such file or directory
Last system call failed (error reported).
System call "/var/tmp/portage/dev-lang/smarteiffel-2.2/work/SmartEiffel/bin/clean clean" failed.

*** There have been errors during the install of SmartEiffel. Sorry :-(

Press a <Enter> to return to the menu. 
Comment 5 Ryan Hill (RETIRED) gentoo-dev 2009-02-01 07:27:46 UTC
there's a fix for this in svn, but the patch is against 2.3 and friggin huge (+5MB).  the revisions are 8694:8697 if you're interested, but it would probably be easier to just force -O1 for now.
Comment 6 Tomáš Chvátal (RETIRED) gentoo-dev 2009-11-14 16:58:32 UTC
removed