Branch: refs/heads/master
Home: https://github.com/timbunce/devel-nytprof
Commit: d8aa8b0301313cc6307919e8ca758fab0a47ae92
https://github.com/timbunce/devel-nytprof/commit/d8aa8b0301313cc6307919e8ca758fab0a47ae92
Author: Gisle Aas <[email protected]>
Date: 2013-04-13 (Sat, 13 Apr 2013)
Changed paths:
M NYTProf.xs
Log Message:
-----------
Avoid triggering "gcc internal compiler error"
The Devel-NYTProf-4.09 (and later) fails to build on Fedora Core 4 with
perl-5.16. Both perl-5.14 and perl-5.18 avoids triggering this bug.
We are building ActivePerl on fairly old Linux boxes which we don't really want
to upgrade.
It's probably the case that newer versions of gcc has fixed this problem.
$ /opt/perl/bin/perl /opt/perl/lib/ExtUtils/xsubpp -typemap
/opt/perl/lib/ExtUtils/typemap -typemap typemap NYTProf.xs > NYTProf.xsc && mv
NYTProf.xsc NYTProf.c
gcc -c -I../zlib -D_REENTRANT -D_GNU_SOURCE -DUSE_SITECUSTOMIZE
-DPERL_RELOCATABLE_INCPUSH -fno-merge-constants -fno-strict-aliasing -pipe
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"5.00\"
-DXS_VERSION=\"5.00\" -fPIC "-I/opt/perl/lib/CORE" -DHAS_CLOCK_GETTIME
-DHAS_ZLIB -DUSE_HARD_ASSERT -W -Wall -Wpointer-arith -Wbad-function-cast
-Wno-comment -Wno-sign-compare -Wno-cast-qual -Wmissing-noreturn
-Wno-unused-parameter NYTProf.c
NYTProf.xs: In function ‘DB_stmt’:
NYTProf.xs:1499: internal compiler error: in c_common_type, at c-typeck.c:530
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/ccxpxams.out file, please attach this to
your bugreport.
make: *** [NYTProf.o] Error 1
$ gcc --version
gcc (GCC) 4.0.2 20051125 (Red Hat 4.0.2-8)
Copyright (C) 2005 Free Software Foundation, Inc.
$ perl -v
This is perl 5, version 16, subversion 0 (v5.16.0) built for
i686-linux-thread-multi
(with 1 registered patch, see perl -V for more detail)
Copyright 1987-2012, Larry Wall
Binary build 1600 [295848] provided by ActiveState http://www.ActiveState.com
Built May 31 2012 20:03:15
Commit: 264bac905fe9a8b6dea9c2082fa294d9245fe5a8
https://github.com/timbunce/devel-nytprof/commit/264bac905fe9a8b6dea9c2082fa294d9245fe5a8
Author: Tim Bunce <[email protected]>
Date: 2013-04-14 (Sun, 14 Apr 2013)
Changed paths:
M NYTProf.xs
Log Message:
-----------
Merge pull request #4 from gisle/gcc-error
Avoid triggering "gcc internal compiler error"
Compare:
https://github.com/timbunce/devel-nytprof/compare/45b044ae69cc...264bac905fe9
--
--
You've received this message because you are subscribed to
the Devel::NYTProf Development User group.
Group hosted at: http://groups.google.com/group/develnytprof-dev
Project hosted at: http://perl-devel-nytprof.googlecode.com
CPAN distribution: http://search.cpan.org/dist/Devel-NYTProf
To post, email: [email protected]
To unsubscribe, email: [email protected]
---
You received this message because you are subscribed to the Google Groups
"Devel::NYTProf Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.