> Change 33472 by [EMAIL PROTECTED] on 2008/03/11 15:56:33
>
>         Integrate:
>         [ 33464]
>         Integrate:
>         [ 32966]
>         Subject: [PATCH] tru64: poison stack, write protect string constants
>         From: Jarkko Hietaniemi <[EMAIL PROTECTED]>
>         Date: Sat, 12 Jan 2008 03:27:10 +0200 (EET)
>         Message-Id: <[EMAIL PROTECTED]>
>
>         [ 33330]
>         Subject: [perl #50946] modified hints for Darwin x86  64bit
>         From: "Daniel M. Quinlan" (via RT) <[EMAIL PROTECTED]>
>         Date: Sun, 17 Feb 2008 14:20:58 -0800
>         Message-ID: <[EMAIL PROTECTED]>
>
>         [ 33357]
>         Subject: [PATCH] cygwin hints
>         From: "Reini Urban" <[EMAIL PROTECTED]>
>         Date: Thu, 21 Feb 2008 14:38:33 +0100
>         Message-ID: <[EMAIL PROTECTED]>
>
>  Affected files ...
>
>  ... //depot/maint-5.8/perl/hints/cygwin.sh#9 integrate
>  ... //depot/maint-5.8/perl/hints/darwin.sh#32 integrate
>  ... //depot/maint-5.8/perl/hints/dec_osf.sh#18 integrate
>  ... //depot/maint-5.8/perl/perl.h#180 edit
>


>  ==== //depot/maint-5.8/perl/perl.h#180 (text) ====
>  Index: perl/perl.h
>  --- perl/perl.h#179~33454~      2008-03-08 15:09:00.000000000 -0800
>  +++ perl/perl.h 2008-03-11 08:56:33.000000000 -0700
>  @@ -3633,12 +3633,9 @@
>
>   #define YYMAXDEPTH 300
>
>  -#ifndef assert  /* <assert.h> might have been included somehow */
>  -#define assert(what)   PERL_DEB(                                       \
>  -       ((what) ? ((void) 0) :                                          \
>  -           (Perl_croak_nocontext("Assertion %s failed: file \"" __FILE__ \
>  -                       "\", line %d", STRINGIFY(what), __LINE__),      \
>  -           (void) 0)))
>  +
>  +#if defined(DEBUGGING)
>  +#  include <assert.h>
>   #endif
>
>   struct ufuncs {
>  End of Patch.


Not sure where you might have picked this up, Nick.  It's not
part of any of the patches listed above, and it totally breaks
the build:

          CCCMD =  gcc -DPERL_CORE -c -DPERL_USE_SAFE_PUTENV
-U__STRICT_ANSI__ -DNO_MATHOMS -DPERL_DONT_CREATE_GVSV
-fno-strict-aliasing -pipe  -Os -pipe -funit-at-a-time -march=pentium4
-mfpmath=sse -mieee-fp -mmmx -msse -msse2 -Wall -W -Wextra
-Wdeclaration-after-statement -Wendif-labels
opmini.c: In function `Perl_mod':
opmini.c:1111: warning: implicit declaration of function `assert'
PATH=/link/perl/33472/perl-5.8.x:.:/home/jhedden/bin:/usr/local/src/perl/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/c/Program\
Files/WiX:/c/djgpp/bin:/c/Program\
Files/apache-ant-1.7.0/bin:/c/Program\
Files/nant-0.85/bin:/c/j2sdk1.4.2_14/bin:/c/dev-cpp/bin:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/system32/WBEM:/c/blp/API/dde:/c/blp/API:/c/oracle/ora92/bin:/c/Program\
Files/Oracle/jre/1.3.1/bin:/c/Program\
Files/Oracle/jre/1.1.8/bin:/c/Program\
Files/Hummingbird/Connectivity/7.10/Accessories:/usr/bin:.:/usr/local:/etc:/usr/lib:/lib:/sbin:/usr/sbin
gcc -L/link/perl/33472/perl-5.8.x  -Wl,--enable-auto-import
-Wl,--export-all-symbols -Wl,--stack,8388608
-Wl,--enable-auto-image-base -s -L/usr/local/lib -o miniperl
miniperlmain.o opmini.o libperl.a -ldl -lcrypt
opmini.o:opmini.c:(.text+0x2f43): undefined reference to `_assert'
opmini.o:opmini.c:(.text+0x2fef): undefined reference to `_assert'
opmini.o:opmini.c:(.text+0x355a): undefined reference to `_assert'
opmini.o:opmini.c:(.text+0x3634): undefined reference to `_assert'
opmini.o:opmini.c:(.text+0x3c3f): undefined reference to `_assert'
opmini.o:opmini.c:(.text+0x4b14): more undefined references to `_assert' follow
collect2: ld returned 1 exit status
make: *** [miniperl.exe] Error 1

Reply via email to