Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 126157

Summary: octave 2.1.72 fails with gcc 4.1
Product: Gentoo Linux Reporter: Patrizio Bassi <patrizio.bassi>
Component: [OLD] GCC PortingAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 2005.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 117482    

Description Patrizio Bassi 2006-03-14 07:00:51 UTC
i686-pc-linux-gnu-g++ -c  -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc  -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse CMatrix.cc -o pic/CMatrix.o
CMatrix.cc: In function &#8216;ComplexMatrix operator*(const ColumnVector&, const ComplexRowVector&)&#8217;:
CMatrix.cc:2263: error: conversion from &#8216;Complex&#8217; to non-scalar type &#8216;ComplexMatrix&#8217; requested
CMatrix.cc: In function &#8216;ComplexMatrix operator*(const ComplexColumnVector&, const RowVector&)&#8217;:
CMatrix.cc:2270: error: conversion from &#8216;Complex&#8217; to non-scalar type &#8216;ComplexMatrix&#8217; requested
make[2]: *** [pic/CMatrix.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/octave-2.1.72/work/octave-2.1.72/liboctave'
make[1]: *** [liboctave] Error 2
make[1]: Leaving directory `/var/tmp/portage/octave-2.1.72/work/octave-2.1.72'
make: *** [all] Error 2


a fix should be here:

http://www.octave.org/mailing-lists/bug-octave/2006/243

please check
Comment 1 Patrizio Bassi 2006-03-14 07:12:19 UTC
here the cleaner patch.

http://www.octave.org/octave-lists/archive/bug-octave.2006/msg00234.html
Comment 2 Markus Dittrich (RETIRED) gentoo-dev 2006-03-14 13:28:33 UTC
Hi Patrizio,

Thanks for the patch! I tested it and it seems to work fine.
It is in portage CVS now.

Thanks,
Markus
Comment 3 Gunnlaugur Thor Briem 2006-09-27 16:06:24 UTC
Typo in summary; should be 2.1.72
Comment 4 Markus Dittrich (RETIRED) gentoo-dev 2006-09-28 05:51:49 UTC
(In reply to comment #3)
> Typo in summary; should be 2.1.72
> 

Yeah, that's right, thanks for pointing it out :)

Markus
Comment 5 Markus Dittrich (RETIRED) gentoo-dev 2006-09-28 05:54:14 UTC
Sorry, messed it up again! I better get some coffee!