Sun Dec 01 10:38:32 2013: Request 84588 was acted upon.
Transaction: Correspondence added by ***@szabgab.com
Queue: PAR-Packer
Subject: Re: [rt.cpan.org #84588] OSX: incorrect detection of gcc (unsupported option '-static-libgcc')
Broken in: (no value)
Severity: (no value)
Owner: RSCHUPP
Requestors: ***@gmail.com, ***@szabgab.com, ***@gmail.com
Status: open
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=84588 >
I still get some nasty warnings (below), but the "make test" passes.
thanks
Gabor
$ perl Makefile.PL
Checking if your kit is complete...
Looks good
Prototype mismatch: sub main::prompt: none vs ($;$) at
/Users/gabor/perl5/perlbrew/perls/perl-5.18.1/lib/site_perl/5.18.1/ExtUtils/MakeMaker.pm
line 220.
Generating a GNU-style Makefile
Writing Makefile for par
Writing MYMETA.yml and MYMETA.json
Generating a GNU-style Makefile
Writing Makefile for PAR::Packer
Writing MYMETA.yml and MYMETA.json
bash-3.2$ make
cp lib/PAR/Filter/PatchContent.pm blib/lib/PAR/Filter/PatchContent.pm
cp lib/PAR/Filter/PodStrip.pm blib/lib/PAR/Filter/PodStrip.pm
cp lib/PAR/Filter/Bleach.pm blib/lib/PAR/Filter/Bleach.pm
cp lib/PAR/Filter.pm blib/lib/PAR/Filter.pm
cp lib/PAR/StrippedPARL/Base.pm blib/lib/PAR/StrippedPARL/Base.pm
cp lib/App/Packer/PAR.pm blib/lib/App/Packer/PAR.pm
cp lib/PAR/Filter/Obfuscate.pm blib/lib/PAR/Filter/Obfuscate.pm
cp lib/PAR/Filter/Bytecode.pm blib/lib/PAR/Filter/Bytecode.pm
cp lib/PAR/Packer.pm blib/lib/PAR/Packer.pm
cp lib/pp.pm blib/lib/pp.pm
Makefile:756: warning: overriding commands for target `.c.o'
Makefile:333: warning: ignoring old commands for target `.c.o'
/Users/gabor/perl5/perlbrew/perls/perl-5.18.1/bin/perl par_pl2c.pl
my_par_pl < ../script/par.pl > my_par_pl.c
/Users/gabor/perl5/perlbrew/perls/perl-5.18.1/bin/perl sha1.c.PL
cc -c -fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe
-fstack-protector -I/usr/local/include
-I/Users/gabor/perl5/perlbrew/perls/perl-5.18.1/lib/5.18.1/darwin-2level/CORE
-DPARL_EXE=\"parl\" -O3 main.c
In file included from main.c:52:
In file included from ./mktmpdir.c:1:
In file included from ./mktmpdir.h:84:
In file included from ./utils.c:25:
./env.c:105:27: warning: passing 'unsigned int *' to parameter of type
'int *' converts between pointers to integer types with different sign
[-Wpointer-sign]
if ((c = __findenv(name, &offset))) { /* find if already exists */
^~~~~~~
In file included from main.c:52:
./mktmpdir.c:63:23: warning: using the result of an assignment as a
condition without parentheses [-Wparentheses]
for ( i = 0 ; key = ld_path_keys[i]; i++ ) {
~~~~^~~~~~~~~~~~~~~~~
./mktmpdir.c:63:23: note: place parentheses around the assignment to
silence this warning
for ( i = 0 ; key = ld_path_keys[i]; i++ ) {
^
( )
./mktmpdir.c:63:23: note: use '==' to turn this assignment into an
equality comparison
for ( i = 0 ; key = ld_path_keys[i]; i++ ) {
^
==
./mktmpdir.c:65:29: warning: passing 'const char *' to parameter of
type 'char *' discards qualifiers
[-Wincompatible-pointer-types-discards-qualifiers]
par_setenv(key, stmpdir);
^~~~~~~
main.c:121:23: warning: assigning to 'char *' from 'const char *'
discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
fakeargv[argno++] = my_par_pl;
^ ~~~~~~~~~
4 warnings generated.
env MACOSX_DEPLOYMENT_TARGET=10.3 cc main.o -fstack-protector
-L/usr/local/lib
-L/Users/gabor/perl5/perlbrew/perls/perl-5.18.1/lib/5.18.1/darwin-2level/CORE
-lperl -ldl -lm -lutil -lc -o ./par
true
/Users/gabor/perl5/perlbrew/perls/perl-5.18.1/bin/perl
encode_append.pl Dynamic.in ./par Dynamic.pm
/Users/gabor/perl5/perlbrew/perls/perl-5.18.1/bin/perl ./file2c.pl -c
30000 ./par /Users/gabor/perl5/perlbrew/perls/perl-5.18.1/lib/5.18.1/darwin-2level/CORE/libperl.a
boot_embedded_files.c
cc -c -fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe
-fstack-protector -I/usr/local/include
-I/Users/gabor/perl5/perlbrew/perls/perl-5.18.1/lib/5.18.1/darwin-2level/CORE
-DPARL_EXE=\"parl\" -O3 boot.c
In file included from boot.c:10:
In file included from ./mktmpdir.c:1:
In file included from ./mktmpdir.h:84:
In file included from ./utils.c:25:
./env.c:105:27: warning: passing 'unsigned int *' to parameter of type
'int *' converts between pointers to integer types with different sign
[-Wpointer-sign]
if ((c = __findenv(name, &offset))) { /* find if already exists */
^~~~~~~
In file included from boot.c:10:
./mktmpdir.c:63:23: warning: using the result of an assignment as a
condition without parentheses [-Wparentheses]
for ( i = 0 ; key = ld_path_keys[i]; i++ ) {
~~~~^~~~~~~~~~~~~~~~~
./mktmpdir.c:63:23: note: place parentheses around the assignment to
silence this warning
for ( i = 0 ; key = ld_path_keys[i]; i++ ) {
^
( )
./mktmpdir.c:63:23: note: use '==' to turn this assignment into an
equality comparison
for ( i = 0 ; key = ld_path_keys[i]; i++ ) {
^
==
./mktmpdir.c:65:29: warning: passing 'const char *' to parameter of
type 'char *' discards qualifiers
[-Wincompatible-pointer-types-discards-qualifiers]
par_setenv(key, stmpdir);
^~~~~~~
3 warnings generated.