Perl / perl5

🐪 The Perl programming language
https://dev.perl.org/perl5/
Other
1.91k stars 543 forks source link

perl 5.8.0 does not compile with Borland C/C++ 5.5 #5805

Closed p5pRT closed 16 years ago

p5pRT commented 22 years ago

Migrated from rt.perl.org#15928 (status was 'rejected')

Searchable as RT15928$

p5pRT commented 22 years ago

From FGallo@westernasset.com

Created by FGallo@localhost

This is a bug report for perl from FGallo@​localhost\, generated with the help of perlbug 1.33 running under perl v5.6.1.

----------------------------------------------------------------- 5.8.0 does not successfully compile a good miniperl when using the Borland C/C++ 5.5 compiler which comes with Borland C++Builder 5\, when using Sarathy's dmake-4.1 and any combination of configuration options. Miniperl is compiled\, but it merely prints garbage and exits. Compilation environment is Windows 2000.

sample compilation output follows. The garbled line is actually composed of high ascii (or Unicode) characters which this lame Microsoft text editor does not know how to cope with. The perl configuration information at the bottom of this message is completely irrelevant.

[...] win32thread.c​: bcc32 -c -w -g0 -tWM -tWD -I..\lib\CORE -I.\include -I. -I.. -I"C​:\cbuilder5\inc lude" -DWIN32 -D_MT -D__USELOCALES__ -D_WIN32_WINNT=0x0410 -DPERLDLL -DPERL_COR E -O2 -D_RTLDLL -o.\mini\win32io.obj win32io.c Borland C++ 5.5 for Win32 Copyright (c) 1993\, 2000 Borland win32io.c​: Warning W8055 win32io.c 259​: Possible overflow in shift operation in function Pe rlIOWin32_seek Warning W8075 win32io.c 261​: Suspicious pointer conversion in function PerlIOWin 32_seek Warning W8075 win32io.c 277​: Suspicious pointer conversion in function PerlIOWin 32_tell Warning W8055 win32io.c 280​: Possible overflow in shift operation in function Pe rlIOWin32_tell ilink32 -Tpe -ap -L"\5.8.0\lib\MSWin32-x86\CORE" -L"C​:\cbuilder5\lib" -Gn \   @​C​:\DOCUME~1\fgallo\LOCALS~1\Temp\mk000001 Turbo Incremental Link 5.00 Copyright (c) 1997\, 2000 Borland ECHO is on. cd .. && miniperl minimod.pl > lib\ExtUtils\Miniperl.pm 3?ª?|?¬?3B'?~?3%?????????????????Ç??Ç??. dmake.exe​: Error code 6\, while making '..\lib\ExtUtils\Miniperl.pm' dmake.exe​: '..\lib\ExtUtils\Miniperl.pm' removed.

Perl Info ``` Flags: category=core severity=critical Site configuration information for perl v5.6.1: Configured by FGallo at Wed Jan 2 17:16:07 2002. Summary of my perl5 (revision 5 version 6 subversion 1) configuration: Platform: osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread uname='' config_args='undef' hint=recommended, useposix=true, d_sigaction=undef usethreads=undef use5005threads=undef useithreads=define usemultiplicity=define useperlio=undef d_sfio=undef uselargefiles=undef usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef Compiler: cc='cl', ccflags ='-nologo -O1 -MD -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DPERL_MSVCRT_READFIX', optimize='-O1 -MD -DNDEBUG', cppflags='-DWIN32' ccversion='', gccversion='', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4 alignbytes=8, usemymalloc=n, prototype=define Linker and Libraries: ld='link', ldflags ='-nologo -nodefaultlib -release -libpath:"C:\Perl\lib\CORE" -machine:x86' libpth="C:\Perl\lib\CORE" libs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib perllibs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib libc=msvcrt.lib, so=dll, useshrplib=yes, libperl=perl56.lib Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -release -libpath:"C:\Perl\lib\CORE" -machine:x86' Locally applied patches: ACTIVEPERL_LOCAL_PATCHES_ENTRY @INC for perl v5.6.1: C:/Perl/lib C:/Perl/site/lib . Environment for perl v5.6.1: HOME (unset) LANG (unset) LANGUAGE (unset) LD_LIBRARY_PATH (unset) LOGDIR (unset) PATH=c:\fsg\dmake;c:\CBUILD~1\Projects\Bpl;c:\CBUILD~1\Bin;C:\Perl\bin\;C:\W INNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;u:\bin;C:\Sybase\DLL;C:\Sybase \BIN;C:\Program Files\Sybase\Sybase Central\win32;C:\Sybase\ASEP;C:\BorlandEnterpriseServer\bin;C:\Program Files\Microsoft SQL Server\80\Tools\BINN PERLDB_OPTS=RemotePort=127.0.0.1:2000 PERLIO=perlio PERL_BADLANG (unset) SHELL (unset) ********************************************************************** E-mail sent through the Internet is not secure. Western Asset therefore recommends that you do not send any confidential or sensitive information to us via electronic mail, including social security numbers, account numbers, or personal identification numbers. Delivery, and or timely delivery of Internet mail is not guaranteed. Western Asset therefore recommends that you do not send time sensitive or action-oriented messages to us via electronic mail. ********************************************************************** ```
p5pRT commented 22 years ago

From vkonovalov@spb.lucent.com


5.8.0 does not successfully compile a good miniperl when using the Borland C/C++ 5.5 compiler which comes with Borland C++Builder 5\, when using Sarathy's dmake-4.1 and any combination of configuration options. Miniperl is compiled\, but it merely prints garbage and exits. Compilation environment is Windows 2000.

sample compilation output follows. The garbled line is actually composed of high ascii (or Unicode) characters which this lame Microsoft text editor does not know how to cope with. The perl configuration information at the bottom of this message is completely irrelevant.

I saw such garbage output long ago\, and do not exactly remember what exact reason was that\, most likely it was just mess with right libraries and corresponding dll-s.

Did you tried build with VCL library (which is supported starte from 5.6.0)?

Give me makefile.mk file that was used in your build\, and I'll take a look.

As for my personal experience\, I can tell that I built succesfully 5.8.0 with namely that C++ compiler\, which comes with C++Builder.

Best wishes\, Vadim.

PS> I can't CC to original poster\, as his email is unknown\, isn't it?

p5pRT commented 16 years ago

p5p@spam.wizbit.be - Status changed from 'open' to 'rejected'