Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Perl 5.8.8 fails to compile with gcc 4.2 #8655

Closed
p5pRT opened this issue Oct 31, 2006 · 10 comments
Closed

Perl 5.8.8 fails to compile with gcc 4.2 #8655

p5pRT opened this issue Oct 31, 2006 · 10 comments

Comments

@p5pRT
Copy link

p5pRT commented Oct 31, 2006

Migrated from rt.perl.org#40633 (status was 'resolved')

Searchable as RT40633$

@p5pRT
Copy link
Author

p5pRT commented Oct 31, 2006

From bero@arklinux.org

Created by bero@arklinux.org

This is a bug report for perl from bero@​arklinux.org,
generated with the help of perlbug 1.35 running under perl v5.8.8.

-----------------------------------------------------------------
Perl 5.8.8 fails to compile with gcc 4.2 -- apparently the dependency
generator output is misinterpreted.

The configure script runs ok, but running make results in

make​: *** No rule to make target `<command-line>', needed by `miniperlmain.o'. Stop.

Perl Info

Flags:
    category=core
    severity=high

Site configuration information for perl v5.8.8:

Configured by Ark Linux at Tue Feb 28 19:39:43 CET 2006.

Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
  Platform:
    osname=linux, osvers=2.6.18-2ark, archname=i386-linux-thread-multi
    uname='linux ch.arklinux.org 2.6.18-2ark #1 wed jan 18 18:40:01 cet 2006 i686 gnulinux '
    config_args='-des -Doptimize=-O2 -march=i586 -mtune=i686 -fomit-frame-pointer -fweb -frename-registers -Dversion=5.8.8 -Dmyhostname=localhost -Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Ark Linux -Dinstallprefix=/usr -Dprefix=/usr -Darchname=i386-linux -Dvendorprefix=/usr -Dsiteprefix=/usr -Duseshrplib -Dusethreads -Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl=n -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -isr -Dd_gethostent_r_proto -Ud_endhostent_r_proto -Ud_sethostent_r_proto -Ud_endprotoent_r_proto -Ud_setprotoent_r_proto -Ud_endservent_r_proto -Ud_setservent_r_proto -Dinc_version_list=5.8.7 5.8.6 5.8.5 5.8.4 5.8.3 -Dscriptdir=/usr/bin'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
    optimize='-O2 -march=i586 -mtune=i686 -fomit-frame-pointer -fweb -frename-registers',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/usr/include/gdbm'
    ccversion='', gccversion='4.1.0 20060222 (prerelease)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lresolv -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
    perllibs=-lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
    libc=/lib/libc-2.3.90.so, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version='2.3.90'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE'
    cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'

Locally applied patches:
    


@INC for perl v5.8.8:
    /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
    /usr/lib/perl5/site_perl/5.8.8
    /usr/lib/perl5/site_perl/5.8.7
    /usr/lib/perl5/site_perl/5.8.6
    /usr/lib/perl5/site_perl/5.8.5
    /usr/lib/perl5/site_perl/5.8.4
    /usr/lib/perl5/site_perl/5.8.3
    /usr/lib/perl5/site_perl
    /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi
    /usr/lib/perl5/vendor_perl/5.8.8
    /usr/lib/perl5/vendor_perl/5.8.7
    /usr/lib/perl5/vendor_perl/5.8.6
    /usr/lib/perl5/vendor_perl/5.8.5
    /usr/lib/perl5/vendor_perl/5.8.4
    /usr/lib/perl5/vendor_perl/5.8.3
    /usr/lib/perl5/vendor_perl
    /usr/lib/perl5/5.8.8/i386-linux-thread-multi
    /usr/lib/perl5/5.8.8
    .


Environment for perl v5.8.8:
    HOME=/home/bero
    LANG=en_US
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/usr/local/bin:/bin:/usr/bin:/home/bero/bin
    PERL_BADLANG (unset)
    SHELL=/bin/bash

@p5pRT
Copy link
Author

p5pRT commented Nov 1, 2006

From @doughera88

On Tue, 31 Oct 2006, Bernhard Rosenkraenzer wrote​:

# New Ticket Created by Bernhard Rosenkraenzer
# Please include the string​: [perl #40633]
# in the subject line of all future correspondence about this issue.
# <URL​: http​://rt.perl.org/rt3/Ticket/Display.html?id=40633 >

-----------------------------------------------------------------
Perl 5.8.8 fails to compile with gcc 4.2 -- apparently the dependency
generator output is misinterpreted.

The configure script runs ok, but running make results in

make​: *** No rule to make target `<command-line>', needed by `miniperlmain.o'. Stop.

Thanks for the report. I sometimes wonder how many more different ways
gcc will invent to say the same thing :-).

The following patch will fix it (as will just deleting the offending
lines, as you've probably already discovered.) This patch already part of
the current development release, but hasn't yet been folded back into the
maintenance track.

Inline Patch
--- perl-5.8.x/makedepend.SH	2006-06-13 15:31:22.000000000 -0400
+++ perl-5.8.x-andy/makedepend.SH	2006-07-25 14:45:11.000000000 -0400
@@ -167,6 +167,7 @@
             -e '/^#.*<builtin>/d' \
             -e '/^#.*<built-in>/d' \
             -e '/^#.*<command line>/d' \
+            -e '/^#.*<command-line>/d' \
 	    -e '/^#.*"-"/d' \
 	    -e '/: file path prefix .* never used$/d' \
 	    -e 's#\.[0-9][0-9]*\.c#'"$file.c#" \

-- 

  Andy Dougherty doughera@​lafayette.edu

@p5pRT
Copy link
Author

p5pRT commented Nov 1, 2006

The RT System itself - Status changed from 'new' to 'open'

@p5pRT
Copy link
Author

p5pRT commented Nov 1, 2006

From @rgarcia

On 31/10/06, via RT Bernhard Rosenkraenzer <perlbug-followup@​perl.org> wrote​:

Perl 5.8.8 fails to compile with gcc 4.2 -- apparently the dependency
generator output is misinterpreted.

Thanks for your report -- this has been fixed by change #28615 to the
development branch of perl :

http​://public.activestate.com/cgi-bin/perlbrowse?show_patch=Show+Patch&patch_num=28615

@p5pRT
Copy link
Author

p5pRT commented Nov 1, 2006

@rgs - Status changed from 'open' to 'resolved'

@p5pRT p5pRT closed this as completed Nov 1, 2006
@p5pRT
Copy link
Author

p5pRT commented Nov 5, 2006

From bero@arklinux.org

Created by bero@arklinux.org

This is a bug report for perl from bero@​arklinux.org,
generated with the help of perlbug 1.35 running under perl v5.8.8.

-----------------------------------------------------------------
Perl 5.8.8 fails to compile with gcc 4.2 -- apparently the dependency
generator output is misinterpreted.

The configure script runs ok, but running make results in

make​: *** No rule to make target `<command-line>', needed by `miniperlmain.o'. Stop.

Perl Info

Flags:
    category=core
    severity=high

Site configuration information for perl v5.8.8:

Configured by Ark Linux at Tue Feb 28 19:39:43 CET 2006.

Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
  Platform:
    osname=linux, osvers=2.6.18-2ark, archname=i386-linux-thread-multi
    uname='linux ch.arklinux.org 2.6.18-2ark #1 wed jan 18 18:40:01 cet 2006 i686 gnulinux '
    config_args='-des -Doptimize=-O2 -march=i586 -mtune=i686 -fomit-frame-pointer -fweb -frename-registers -Dversion=5.8.8 -Dmyhostname=localhost -Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Ark Linux -Dinstallprefix=/usr -Dprefix=/usr -Darchname=i386-linux -Dvendorprefix=/usr -Dsiteprefix=/usr -Duseshrplib -Dusethreads -Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl=n -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -isr -Dd_gethostent_r_proto -Ud_endhostent_r_proto -Ud_sethostent_r_proto -Ud_endprotoent_r_proto -Ud_setprotoent_r_proto -Ud_endservent_r_proto -Ud_setservent_r_proto -Dinc_version_list=5.8.7 5.8.6 5.8.5 5.8.4 5.8.3 -Dscriptdir=/usr/bin'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
    optimize='-O2 -march=i586 -mtune=i686 -fomit-frame-pointer -fweb -frename-registers',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/usr/include/gdbm'
    ccversion='', gccversion='4.1.0 20060222 (prerelease)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lresolv -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
    perllibs=-lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
    libc=/lib/libc-2.3.90.so, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version='2.3.90'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE'
    cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'

Locally applied patches:
    


@INC for perl v5.8.8:
    /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
    /usr/lib/perl5/site_perl/5.8.8
    /usr/lib/perl5/site_perl/5.8.7
    /usr/lib/perl5/site_perl/5.8.6
    /usr/lib/perl5/site_perl/5.8.5
    /usr/lib/perl5/site_perl/5.8.4
    /usr/lib/perl5/site_perl/5.8.3
    /usr/lib/perl5/site_perl
    /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi
    /usr/lib/perl5/vendor_perl/5.8.8
    /usr/lib/perl5/vendor_perl/5.8.7
    /usr/lib/perl5/vendor_perl/5.8.6
    /usr/lib/perl5/vendor_perl/5.8.5
    /usr/lib/perl5/vendor_perl/5.8.4
    /usr/lib/perl5/vendor_perl/5.8.3
    /usr/lib/perl5/vendor_perl
    /usr/lib/perl5/5.8.8/i386-linux-thread-multi
    /usr/lib/perl5/5.8.8
    .


Environment for perl v5.8.8:
    HOME=/home/bero
    LANG=en_US
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/usr/local/bin:/bin:/usr/bin:/home/bero/bin
    PERL_BADLANG (unset)
    SHELL=/bin/bash

@p5pRT
Copy link
Author

p5pRT commented Nov 5, 2006

From @doughera88

On Tue, 31 Oct 2006, Bernhard Rosenkraenzer wrote​:

# New Ticket Created by Bernhard Rosenkraenzer
# Please include the string​: [perl #40633]
# in the subject line of all future correspondence about this issue.
# <URL​: http​://rt.perl.org/rt3/Ticket/Display.html?id=40633 >

-----------------------------------------------------------------
Perl 5.8.8 fails to compile with gcc 4.2 -- apparently the dependency
generator output is misinterpreted.

The configure script runs ok, but running make results in

make​: *** No rule to make target `<command-line>', needed by `miniperlmain.o'. Stop.

Thanks for the report. I sometimes wonder how many more different ways
gcc will invent to say the same thing :-).

The following patch will fix it (as will just deleting the offending
lines, as you've probably already discovered.) This patch already part of
the current development release, but hasn't yet been folded back into the
maintenance track.

Inline Patch
--- perl-5.8.x/makedepend.SH	2006-06-13 15:31:22.000000000 -0400
+++ perl-5.8.x-andy/makedepend.SH	2006-07-25 14:45:11.000000000 -0400
@@ -167,6 +167,7 @@
             -e '/^#.*<builtin>/d' \
             -e '/^#.*<built-in>/d' \
             -e '/^#.*<command line>/d' \
+            -e '/^#.*<command-line>/d' \
 	    -e '/^#.*"-"/d' \
 	    -e '/: file path prefix .* never used$/d' \
 	    -e 's#\.[0-9][0-9]*\.c#'"$file.c#" \

-- 

  Andy Dougherty doughera@​lafayette.edu

@p5pRT
Copy link
Author

p5pRT commented Nov 5, 2006

From @rgarcia

On 31/10/06, via RT Bernhard Rosenkraenzer <perlbug-followup@​perl.org> wrote​:

Perl 5.8.8 fails to compile with gcc 4.2 -- apparently the dependency
generator output is misinterpreted.

Thanks for your report -- this has been fixed by change #28615 to the
development branch of perl :

http​://public.activestate.com/cgi-bin/perlbrowse?show_patch=Show+Patch&patch_num=28615

@p5pRT
Copy link
Author

p5pRT commented Nov 18, 2006

From @doughera88

On Tue, 31 Oct 2006, Bernhard Rosenkraenzer wrote​:

# New Ticket Created by Bernhard Rosenkraenzer
# Please include the string​: [perl #40633]
# in the subject line of all future correspondence about this issue.
# <URL​: http​://rt.perl.org/rt3/Ticket/Display.html?id=40633 >

-----------------------------------------------------------------
Perl 5.8.8 fails to compile with gcc 4.2 -- apparently the dependency
generator output is misinterpreted.

The configure script runs ok, but running make results in

make​: *** No rule to make target `<command-line>', needed by `miniperlmain.o'. Stop.

Thanks for the report. I sometimes wonder how many more different ways
gcc will invent to say the same thing :-).

The following patch will fix it (as will just deleting the offending
lines, as you've probably already discovered.) This patch already part of
the current development release, but hasn't yet been folded back into the
maintenance track.

Inline Patch
--- perl-5.8.x/makedepend.SH	2006-06-13 15:31:22.000000000 -0400
+++ perl-5.8.x-andy/makedepend.SH	2006-07-25 14:45:11.000000000 -0400
@@ -167,6 +167,7 @@
             -e '/^#.*<builtin>/d' \
             -e '/^#.*<built-in>/d' \
             -e '/^#.*<command line>/d' \
+            -e '/^#.*<command-line>/d' \
 	    -e '/^#.*"-"/d' \
 	    -e '/: file path prefix .* never used$/d' \
 	    -e 's#\.[0-9][0-9]*\.c#'"$file.c#" \

-- 

  Andy Dougherty doughera@​lafayette.edu

@p5pRT
Copy link
Author

p5pRT commented Nov 18, 2006

From @rgarcia

On 31/10/06, via RT Bernhard Rosenkraenzer <perlbug-followup@​perl.org> wrote​:

Perl 5.8.8 fails to compile with gcc 4.2 -- apparently the dependency
generator output is misinterpreted.

Thanks for your report -- this has been fixed by change #28615 to the
development branch of perl :

http​://public.activestate.com/cgi-bin/perlbrowse?show_patch=Show+Patch&patch_num=28615

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant