Bug#448149: quantlib-swig - FTBFS: g++: Internal error: Killed (program cc1plus)

2007-10-27 Thread Dirk Eddelbuettel

On 27 October 2007 at 17:12, Luigi Ballabio wrote:
| 
| On Oct 27, 2007, at 4:36 PM, Dirk Eddelbuettel wrote:
| > |
| > | the correct fix is to make the code chunks which swig generates, 
| > smaller.
| >
| > I'll let upstream know (CC'ed, hi Luigi :).
| 
| Hi, Dirk.
|   There's someone working on that. I don't have an estimate for when 
| it's done, though. It will be for next release anyway

Excellent news.  

| ---I don't think we'll backport the thing.

No worries. We have the 0.8.* release mostly under control, and this sounds
like the right thing going forward towards 1.0.

Cheers, Dirk

-- 
Three out of two people have difficulties with fractions.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#448149: quantlib-swig - FTBFS: g++: Internal error: Killed (program cc1plus)

2007-10-27 Thread Luigi Ballabio


On Oct 27, 2007, at 4:36 PM, Dirk Eddelbuettel wrote:

|
| the correct fix is to make the code chunks which swig generates, 
smaller.


I'll let upstream know (CC'ed, hi Luigi :).


Hi, Dirk.
	There's someone working on that. I don't have an estimate for when 
it's done, though. It will be for next release anyway---I don't think 
we'll backport the thing.


Luigi




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#448149: quantlib-swig - FTBFS: g++: Internal error: Killed (program cc1plus)

2007-10-27 Thread Dirk Eddelbuettel

On 27 October 2007 at 15:55, Matthias Klose wrote:
| Dirk Eddelbuettel writes:
| > 
| > On 26 October 2007 at 20:02, Martin Michlmayr wrote:
| > | * Dirk Eddelbuettel <[EMAIL PROTECTED]> [2007-10-26 11:30]:
| > | > Also of note is that powerpc fails with ICE whereas it managed to build 
the
| > | > previous Debian upload 0.8-2
| > | 
| > | voltaire only has 320 MB RAM, so I guess it's simply running out of
| > | memory too.
| > 
| > Ack. I am already switching to -O0 -g0 for a few arches, and I now added
| > s390. Do you recommend I do the same for powerpc?
| 
| the correct fix is to make the code chunks which swig generates, smaller.

I'll let upstream know (CC'ed, hi Luigi :).  I don't have the swig-foo to do
that myself. Anybody inside Debian I could bug for help?

Dirk

-- 
Three out of two people have difficulties with fractions.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#448149: quantlib-swig - FTBFS: g++: Internal error: Killed (program cc1plus)

2007-10-27 Thread Matthias Klose
Dirk Eddelbuettel writes:
> 
> On 26 October 2007 at 20:02, Martin Michlmayr wrote:
> | * Dirk Eddelbuettel <[EMAIL PROTECTED]> [2007-10-26 11:30]:
> | > Also of note is that powerpc fails with ICE whereas it managed to build 
> the
> | > previous Debian upload 0.8-2
> | 
> | voltaire only has 320 MB RAM, so I guess it's simply running out of
> | memory too.
> 
> Ack. I am already switching to -O0 -g0 for a few arches, and I now added
> s390. Do you recommend I do the same for powerpc?

the correct fix is to make the code chunks which swig generates, smaller.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#448149: quantlib-swig - FTBFS: g++: Internal error: Killed (program cc1plus)

2007-10-26 Thread Dirk Eddelbuettel

Using -O0 and -g0 avoided the ICE on s390 as seen at
http://buildd.debian.org/build.php?&pkg=quantlib-swig&ver=0.8.0-4&arch=s390&file=log

I'll leave it to the g++ maintainers to see if they want to close this, or
look at it further.  It may really just be a resource exhaustion on the host
machine. 

Dirk

-- 
Three out of two people have difficulties with fractions.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#448149: quantlib-swig - FTBFS: g++: Internal error: Killed (program cc1plus)

2007-10-26 Thread Thiemo Seufer
Martin Michlmayr wrote:
> * Dirk Eddelbuettel <[EMAIL PROTECTED]> [2007-10-26 11:30]:
> > Also of note is that powerpc fails with ICE whereas it managed to build the
> > previous Debian upload 0.8-2
> 
> voltaire only has 320 MB RAM, so I guess it's simply running out of
> memory too.

FYI, the compiler's memory usage on mips peaked at ~800 MB.

> > mips and mipsel fail with relocation errors, I would need help with
> > that from toolchain exports.
> 
> I thought this error shouldn't happen anymore.  CCing Thiemo.

Still happens with binutils from unstable, I'll check upstream CVS.


Thiemo



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#448149: quantlib-swig - FTBFS: g++: Internal error: Killed (program cc1plus)

2007-10-26 Thread Dirk Eddelbuettel

On 26 October 2007 at 20:02, Martin Michlmayr wrote:
| * Dirk Eddelbuettel <[EMAIL PROTECTED]> [2007-10-26 11:30]:
| > Also of note is that powerpc fails with ICE whereas it managed to build the
| > previous Debian upload 0.8-2
| 
| voltaire only has 320 MB RAM, so I guess it's simply running out of
| memory too.

Ack. I am already switching to -O0 -g0 for a few arches, and I now added
s390. Do you recommend I do the same for powerpc?
 
| > mips and mipsel fail with relocation errors, I would need help with
| > that from toolchain exports.
| 
| I thought this error shouldn't happen anymore.  CCing Thiemo.

Thanks!!

Dirk

-- 
Three out of two people have difficulties with fractions.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#448149: quantlib-swig - FTBFS: g++: Internal error: Killed (program cc1plus)

2007-10-26 Thread Martin Michlmayr
* Dirk Eddelbuettel <[EMAIL PROTECTED]> [2007-10-26 11:30]:
> Also of note is that powerpc fails with ICE whereas it managed to build the
> previous Debian upload 0.8-2

voltaire only has 320 MB RAM, so I guess it's simply running out of
memory too.

> mips and mipsel fail with relocation errors, I would need help with
> that from toolchain exports.

I thought this error shouldn't happen anymore.  CCing Thiemo.
-- 
Martin Michlmayr
http://www.cyrius.com/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#448149: quantlib-swig - FTBFS: g++: Internal error: Killed (program cc1plus)

2007-10-26 Thread Dirk Eddelbuettel

On 26 October 2007 at 17:44, Martin Michlmayr wrote:
| * Bastian Blank <[EMAIL PROTECTED]> [2007-10-26 17:07]:
| > Nack. quantlib-swig feeds insane large input and fails.
| 
| Does that s390 buildd only have 256 MB of RAM or so?

Good point. I've seen the g++ process approach one gb on my x86 when building
this. Also note that I have no sway in upstream's choice of one large file.

Also of note is that powerpc fails with ICE whereas it managed to build the
previous Debian upload 0.8-2

mips and mipsel fail with relocation errors, I would need help with that from
toolchain exports.

arm fails as it times out after 500 minutes.

The others (alpha, amd63, hppa, ia64, i386, sparc) all succeed.

Dirk

-- 
Three out of two people have difficulties with fractions.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#448149: quantlib-swig - FTBFS: g++: Internal error: Killed (program cc1plus)

2007-10-26 Thread Martin Michlmayr
* Bastian Blank <[EMAIL PROTECTED]> [2007-10-26 17:07]:
> Nack. quantlib-swig feeds insane large input and fails.

Does that s390 buildd only have 256 MB of RAM or so?
-- 
Martin Michlmayr
http://www.cyrius.com/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#448149: quantlib-swig - FTBFS: g++: Internal error: Killed (program cc1plus)

2007-10-26 Thread Dirk Eddelbuettel

reassign 448149 g++-4.2
thanks

It's a regression. Used to work with older compilers.  



On 26 October 2007 at 17:07, Bastian Blank wrote:
| reassign 448149 quantlib-swig
| thanks
| 
| On Fri, Oct 26, 2007 at 09:44:19AM -0500, Dirk Eddelbuettel wrote:
| >
http://buildd.debian.org/fetch.cgi?&pkg=quantlib-swig&ver=0.8.0-3&arch=s390&stamp=1192790393&file=log
| > 
| > I am reassigning this to g++-4.2 as the message suggests.
| 
| Nack. quantlib-swig feeds insane large input and fails.
| 
| Bastian
| 
| -- 
| Yes, it is written.  Good shall always destroy evil.
|   -- Sirah the Yang, "The Omega Glory", stardate unknown

-- 
Three out of two people have difficulties with fractions.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Processed: Re: Bug#448149: quantlib-swig - FTBFS: g++: Internal error: Killed (program cc1plus)

2007-10-26 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

> reassign 448149 g++-4.2
Bug#448149: quantlib-swig - FTBFS: g++: Internal error: Killed (program cc1plus)
Bug reassigned from package `quantlib-swig' to `g++-4.2'.

> thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#448149: quantlib-swig - FTBFS: g++: Internal error: Killed (program cc1plus)

2007-10-26 Thread Bastian Blank
reassign 448149 quantlib-swig
thanks

On Fri, Oct 26, 2007 at 09:44:19AM -0500, Dirk Eddelbuettel wrote:
>
> http://buildd.debian.org/fetch.cgi?&pkg=quantlib-swig&ver=0.8.0-3&arch=s390&stamp=1192790393&file=log
> 
> I am reassigning this to g++-4.2 as the message suggests.

Nack. quantlib-swig feeds insane large input and fails.

Bastian

-- 
Yes, it is written.  Good shall always destroy evil.
-- Sirah the Yang, "The Omega Glory", stardate unknown



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Processed: Re: Bug#448149: quantlib-swig - FTBFS: g++: Internal error: Killed (program cc1plus)

2007-10-26 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

> reassign 448149 quantlib-swig
Bug#448149: quantlib-swig - FTBFS: g++: Internal error: Killed (program cc1plus)
Bug reassigned from package `g++-4.2' to `quantlib-swig'.

> thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Processed: Re: Bug#448149: quantlib-swig - FTBFS: g++: Internal error: Killed (program cc1plus)

2007-10-26 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

> reassign 448149 g++-4.2
Bug#448149: quantlib-swig - FTBFS: g++: Internal error: Killed (program cc1plus)
Bug reassigned from package `quantlib-swig' to `g++-4.2'.

> thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#448149: quantlib-swig - FTBFS: g++: Internal error: Killed (program cc1plus)

2007-10-26 Thread Dirk Eddelbuettel

reassign 448149 g++-4.2
thanks

As per 

   g++: Internal error: Killed (program cc1plus)
   Please submit a full bug report.
   See http://gcc.gnu.org/bugs.html> for instructions.
   For Debian GNU/Linux specific bug reporting instructions, see
   .

from 

   
http://buildd.debian.org/fetch.cgi?&pkg=quantlib-swig&ver=0.8.0-3&arch=s390&stamp=1192790393&file=log

I am reassigning this to g++-4.2 as the message suggests.

Thanks, Dirk

-- 
Three out of two people have difficulties with fractions.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#448149: quantlib-swig - FTBFS: g++: Internal error: Killed (program cc1plus)

2007-10-26 Thread Dirk Eddelbuettel

On 26 October 2007 at 15:26, Bastian Blank wrote:
| On Fri, Oct 26, 2007 at 08:05:17AM -0500, Dirk Eddelbuettel wrote:
| > Do you have s390 access?
| 
| http://db.debian.org/machines.cgi?host=raptor
| 
| >QuantLib is a rather complex and large C++ library with lots
| > of templates, and fitting it all into a single Swig interface file is
| > somewhat resource-intensive...
| 
| It spits warnings. Fix that first as this code produces undefined
| behaviour.

Hardcoded upstream, afaik even at the python/ruby level.
 
| > It may make sense to restrict the package to architectures where is may
| > actually get used...
| 
| This are any.

Oh really, how interesting.  How many users have you been in contact with?
Feel free to CC me next time.  

On 26 October 2007 at 15:29, Bastian Blank wrote:
| On Fri, Oct 26, 2007 at 08:05:17AM -0500, Dirk Eddelbuettel wrote:
| >QuantLib is a rather complex and large C++ library with lots
| > of templates, and fitting it all into a single Swig interface file is
| > somewhat resource-intensive...
| 
| The swig files are not regenerated during the build. So they are
| "source" and 170k lines source file is nothing someone want to maintain.

Autogenerated upstream as shipped so that users do not need to instal swig. I
am fine with that.

Thanks for your extensive help. Really makes my job as package maintainer so
much easier. 

Dirk

-- 
Three out of two people have difficulties with fractions.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#448149: quantlib-swig - FTBFS: g++: Internal error: Killed (program cc1plus)

2007-10-26 Thread Bastian Blank
On Fri, Oct 26, 2007 at 08:05:17AM -0500, Dirk Eddelbuettel wrote:
>QuantLib is a rather complex and large C++ library with lots
> of templates, and fitting it all into a single Swig interface file is
> somewhat resource-intensive...

The swig files are not regenerated during the build. So they are
"source" and 170k lines source file is nothing someone want to maintain.

Bastian

-- 
A princess should not be afraid -- not with a brave knight to protect her.
-- McCoy, "Shore Leave", stardate 3025.3



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#448149: quantlib-swig - FTBFS: g++: Internal error: Killed (program cc1plus)

2007-10-26 Thread Bastian Blank
On Fri, Oct 26, 2007 at 08:05:17AM -0500, Dirk Eddelbuettel wrote:
> Do you have s390 access?

http://db.debian.org/machines.cgi?host=raptor

>QuantLib is a rather complex and large C++ library with lots
> of templates, and fitting it all into a single Swig interface file is
> somewhat resource-intensive...

It spits warnings. Fix that first as this code produces undefined
behaviour.

> It may make sense to restrict the package to architectures where is may
> actually get used...

This are any.

Bastian

-- 
"Get back to your stations!"
"We're beaming down to the planet, sir."
-- Kirk and Mr. Leslie, "This Side of Paradise",
   stardate 3417.3



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#448149: quantlib-swig - FTBFS: g++: Internal error: Killed (program cc1plus)

2007-10-26 Thread Dirk Eddelbuettel

Hi Bastian,

Thanks for the bug report.

On 26 October 2007 at 13:47, Bastian Blank wrote:
| Package: quantlib-swig
| Version: 0.8.0-3
| Severity: serious
| 
| There was an error while trying to autobuild your package:
| 
| > Automatic build of quantlib-swig_0.8.0-3 on debian-31.osdl.marist.edu by 
sbuild/s390 98
| [...]

Hm. Looks like s390 was able to build older versions of quantlib-swig.

| > g++: Internal error: Killed (program cc1plus)
| > Please submit a full bug report.
| > See http://gcc.gnu.org/bugs.html> for instructions.
| > For Debian GNU/Linux specific bug reporting instructions, see
| > .
| > 
| > error: command 'g++' failed with exit status 1
| > make: *** [build-stamp] Error 1
| > dpkg-buildpackage: failure: debian/rules build gave error exit status 2
| > 
**
| > Build finished at 20071019-0640
| > FAILED [dpkg-buildpackage died]

Do you have s390 access?  Could you try a local build with -O0 -g0 instead of
the defaults?  QuantLib is a rather complex and large C++ library with lots
of templates, and fitting it all into a single Swig interface file is
somewhat resource-intensive...

It may make sense to restrict the package to architectures where is may
actually get used...

Dirk

-- 
Three out of two people have difficulties with fractions.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#448149: quantlib-swig - FTBFS: g++: Internal error: Killed (program cc1plus)

2007-10-26 Thread Bastian Blank
Package: quantlib-swig
Version: 0.8.0-3
Severity: serious

There was an error while trying to autobuild your package:

> Automatic build of quantlib-swig_0.8.0-3 on debian-31.osdl.marist.edu by 
> sbuild/s390 98
[...]
> g++: Internal error: Killed (program cc1plus)
> Please submit a full bug report.
> See http://gcc.gnu.org/bugs.html> for instructions.
> For Debian GNU/Linux specific bug reporting instructions, see
> .
> 
> error: command 'g++' failed with exit status 1
> make: *** [build-stamp] Error 1
> dpkg-buildpackage: failure: debian/rules build gave error exit status 2
> **
> Build finished at 20071019-0640
> FAILED [dpkg-buildpackage died]



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]