delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2013/11/23/02:25:51

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
X-Recipient: djgpp-workers AT delorie DOT com
Message-ID: <5290586B.3010604@iki.fi>
Date: Sat, 23 Nov 2013 09:25:31 +0200
From: Andris Pavenis <andris DOT pavenis AT iki DOT fi>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: djgpp-workers AT delorie DOT com
Subject: Re: ANNOUNCE: DJGPP port of GCC-4.8.2 (DJGPP v2.04 only)
References: <201310162005 DOT r9GK5npk027905 AT delorie DOT com> <52754597 DOT 9000204 AT iki DOT fi> <CAA-ihx-X=JWmWgGTiErKGbaZS+C5i8tTfu4fpTbUoN9M_cFccw AT mail DOT gmail DOT com>
In-Reply-To: <CAA-ihx-X=JWmWgGTiErKGbaZS+C5i8tTfu4fpTbUoN9M_cFccw@mail.gmail.com>
Reply-To: djgpp-workers AT delorie DOT com

This is a multi-part message in MIME format.
--------------030005090902010605040906
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

On 11/14/2013 12:39 AM, Rugxulo wrote:
> Hi,
>
> On Sat, Nov 2, 2013 at 1:33 PM, Andris Pavenis <andris DOT pavenis AT iki DOT fi> wrote:
>> On 10/16/2013 10:54 PM, Andris Pavenis wrote:
>>> This is announcement of DJGPP port of GCC-4.8.2
>> There are several problems with this port:
>>
>> 2) some executables in RPM packages were not stripped, so
>> unnecessarily bloating packages were generated
>>
>> I'll upload updated build after testing when I'll have it.
>
> As an aside, I do think there are some files that don't need to be
> included in releases. Correct me if wrong, but I have absolutely no
> idea what these do (if anything):
>
> gcc-ar.exe, gcc-nm.exe, gcc-ranlib.exe, lto-wrapper.exe
>
> Just checking some of my older .ZIPs, it seems (for example)
> gcc-ar.exe was included in gcc473b.zip but not gcc463b.zip (or older).
>
> Well, I'm also pretty sure DJGPP doesn't support LTO. At least that's
> what I recall (not that I need nor want it), so at least
> lto-wrapper.exe could "probably" be removed.
>
As I wrote earlier I packaged files that were installed by 'make install'

 From the other side we may be able to have LTO support in future. At least
I got it working with some days old snapshot from gcc trunk
(gcc 4.9.0 20131121). Required some porting though.

Here helped GCC debugging information related configuration update
(I tested it at first with snapshots from trunk before rebuilding gcc-4.8.2):
I was able to debug lto1.exe (size about 117 MB) in DOS session
under Windows Vista without problems. Without these updates
I would have serious trouble displaying backtrace in GDB.

The problem is that LTO support uses file names not acceptable
without LFN like '*.ltrans.out'. The situation even worse if
-save-temps command line option is being used as then I'm getting
file names like *.exe.ltrans.out, *.exe.ltrans0.o, *.exe.ltrans0.s.
So additional porting will be needed

Andris


--------------030005090902010605040906
Content-Type: text/plain; charset=UTF-8;
 name="gcc_lto_test.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="gcc_lto_test.txt"

Using built-in specs.
COLLECT_GCC=H:\DJGPP\BIN/gpp.exe
COLLECT_LTO_WRAPPER=h:/djgpp/bin/../libexec/gcc/djgpp/4.90/lto-wrapper.exe
Target: djgpp
Configured with: /gnu/gcc-4.90-20131121/configure djgpp --prefix=/dev/env/DJDIR --disable-nls --disable-werror --enable-languages=c,c++,fortran,objc,obj-c++,ada --enable-libquadmath-support --enable-lto
Thread model: single
gcc version 4.9.0 20131121 (experimental) (GCC) 
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-flto' '-o' 'foo.exe' '-mtune=pentium' '-march=pentium'
 h:/djgpp/bin/../libexec/gcc/djgpp/4.90/cc1plus.exe -E -quiet -v -iprefix h:/djgpp/bin/../lib/gcc/djgpp/4.90/ -remap foo.cpp -mtune=pentium -march=pentium -flto -fpch-preprocess -o foo.ii
ignoring nonexistent directory "h:/djgpp/bin/../lib/gcc/djgpp/4.90/../../../../djgpp/include"
ignoring duplicate directory "h:/djgpp/lib/gcc/../../lib/gcc/djgpp/4.90/../../../../include/cxx/4.90"
ignoring duplicate directory "h:/djgpp/lib/gcc/../../lib/gcc/djgpp/4.90/../../../../include/cxx/4.90/djgpp"
ignoring duplicate directory "h:/djgpp/lib/gcc/../../lib/gcc/djgpp/4.90/../../../../include/cxx/4.90/backward"
ignoring duplicate directory "h:/djgpp/lib/gcc/../../lib/gcc/djgpp/4.90/include"
ignoring duplicate directory "h:/djgpp/lib/gcc/../../lib/gcc/djgpp/4.90/include-fixed"
ignoring nonexistent directory "h:/djgpp/lib/gcc/../../lib/gcc/djgpp/4.90/../../../../djgpp/include"
#include "..." search starts here:
#include <...> search starts here:
 h:/djgpp/bin/../lib/gcc/djgpp/4.90/../../../../include/cxx/4.90
 h:/djgpp/bin/../lib/gcc/djgpp/4.90/../../../../include/cxx/4.90/djgpp
 h:/djgpp/bin/../lib/gcc/djgpp/4.90/../../../../include/cxx/4.90/backward
 h:/djgpp/bin/../lib/gcc/djgpp/4.90/include
 h:/djgpp/bin/../lib/gcc/djgpp/4.90/include-fixed
 h:/djgpp/include
End of search list.
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-flto' '-o' 'foo.exe' '-mtune=pentium' '-march=pentium'
 h:/djgpp/bin/../libexec/gcc/djgpp/4.90/cc1plus.exe -fpreprocessed foo.ii -quiet -dumpbase foo.cpp -mtune=pentium -march=pentium -auxbase foo -version -flto -o foo.s
GNU C++ (GCC) version 4.9.0 20131121 (experimental) (djgpp)
	compiled by GNU C version 4.9.0 20131121 (experimental), GMP version 5.1.1, MPFR version 3.1.2, MPC version 1.0.1
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
GNU C++ (GCC) version 4.9.0 20131121 (experimental) (djgpp)
	compiled by GNU C version 4.9.0 20131121 (experimental), GMP version 5.1.1, MPFR version 3.1.2, MPC version 1.0.1
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 203af6a0ddbfb44fe85ca0e10634e121
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-flto' '-o' 'foo.exe' '-mtune=pentium' '-march=pentium'
 h:/djgpp/bin/as.exe -v -o foo.o foo.s
GNU assembler version 2.23.1 (djgpp) using BFD version (GNU Binutils) 2.23.1
COMPILER_PATH=h:/djgpp/bin/../libexec/gcc/djgpp/4.90/;h:/djgpp/bin/../libexec/gcc/;h:/djgpp/bin/
LIBRARY_PATH=h:/djgpp/bin/../lib/gcc/djgpp/4.90/;h:/djgpp/bin/../lib/gcc/;h:/djgpp/lib/;h:/djgpp/bin/../lib/gcc/djgpp/4.90/../../../
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-flto' '-o' 'foo.exe' '-mtune=pentium' '-march=pentium'
 h:/djgpp/bin/../libexec/gcc/djgpp/4.90/collect2.exe -flto -o foo.exe h:/djgpp/lib/crt0.o -Lh:/djgpp/bin/../lib/gcc/djgpp/4.90 -Lh:/djgpp/bin/../lib/gcc -Lh:/djgpp/lib -Lh:/djgpp/bin/../lib/gcc/djgpp/4.90/../../.. foo.o -lstdcxx -lm -lgcc -lc -lgcc
 H:\DJGPP\BIN/gpp.exe @h:/djgpp/tmp/ccbCPOLP.args
Using built-in specs.
COLLECT_GCC=H:\DJGPP\BIN/gpp.exe
Target: djgpp
Configured with: /gnu/gcc-4.90-20131121/configure djgpp --prefix=/dev/env/DJDIR --disable-nls --disable-werror --enable-languages=c,c++,fortran,objc,obj-c++,ada --enable-libquadmath-support --enable-lto
Thread model: single
gcc version 4.9.0 20131121 (experimental) (GCC) 
COLLECT_GCC_OPTIONS='-c' '-fexceptions' '-mtune=pentium' '-march=pentium' '-v' '-save-temps' '-mtune=pentium' '-march=pentium' '-dumpdir' './' '-dumpbase' 'foo.exe.wpa' '-fltrans-output-list=foo.exe.ltrans.out' '-fwpa'
 h:/djgpp/lib/gcc/../../libexec/gcc/djgpp/4.90/lto1.exe -quiet -dumpdir ./ -dumpbase foo.exe.wpa -mtune=pentium -march=pentium -mtune=pentium -march=pentium -auxbase foo -version -fexceptions -fltrans-output-list=foo.exe.ltrans.out -fwpa foo.o
GNU GIMPLE (GCC) version 4.9.0 20131121 (experimental) (djgpp)
	compiled by GNU C version 4.9.0 20131121 (experimental), GMP version 5.1.2, MPFR version 3.1.2, MPC version 1.0.1
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
GNU GIMPLE (GCC) version 4.9.0 20131121 (experimental) (djgpp)
	compiled by GNU C version 4.9.0 20131121 (experimental), GMP version 5.1.2, MPFR version 3.1.2, MPC version 1.0.1
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
COMPILER_PATH=h:/djgpp/lib/gcc/../../libexec/gcc/djgpp/4.90/;h:/djgpp/lib/gcc/../../libexec/gcc/;h:/djgpp/bin/../libexec/gcc/djgpp/4.90/;h:/djgpp/bin/../libexec/gcc/djgpp/4.90/;h:/djgpp/bin/../libexec/gcc/;h:/djgpp/bin/;h:/djgpp/bin/
LIBRARY_PATH=h:/djgpp/bin/../lib/gcc/djgpp/4.90/;h:/djgpp/bin/../lib/gcc/;h:/djgpp/bin/../lib/gcc/djgpp/4.90/;h:/djgpp/bin/../lib/gcc/djgpp/4.90/;h:/djgpp/bin/../lib/gcc/;h:/djgpp/lib/;h:/djgpp/bin/../lib/gcc/djgpp/4.90/../../../;h:/djgpp/lib/;h:/djgpp/bin/../lib/gcc/djgpp/4.90/../../../
COLLECT_GCC_OPTIONS='-c' '-fexceptions' '-mtune=pentium' '-march=pentium' '-v' '-save-temps' '-mtune=pentium' '-march=pentium' '-dumpdir' './' '-dumpbase' 'foo.exe.wpa' '-fltrans-output-list=foo.exe.ltrans.out' '-fwpa'
[Leaving LTRANS h:/djgpp/tmp/ccbCPOLP.args]
[Leaving LTRANS foo.exe.ltrans.out]
 H:\DJGPP\BIN/gpp.exe @h:/djgpp/tmp/ccLl050m.args
Using built-in specs.
COLLECT_GCC=H:\DJGPP\BIN/gpp.exe
Target: djgpp
Configured with: /gnu/gcc-4.90-20131121/configure djgpp --prefix=/dev/env/DJDIR --disable-nls --disable-werror --enable-languages=c,c++,fortran,objc,obj-c++,ada --enable-libquadmath-support --enable-lto
Thread model: single
gcc version 4.9.0 20131121 (experimental) (GCC) 
COLLECT_GCC_OPTIONS='-c' '-fexceptions' '-mtune=pentium' '-march=pentium' '-v' '-save-temps' '-mtune=pentium' '-march=pentium' '-dumpdir' './' '-dumpbase' 'foo.exe.ltrans0' '-fltrans' '-o' 'foo.exe.ltrans0.ltrans.o'
 h:/djgpp/lib/gcc/../../libexec/gcc/djgpp/4.90/lto1.exe -quiet -dumpdir ./ -dumpbase foo.exe.ltrans0 -mtune=pentium -march=pentium -mtune=pentium -march=pentium -auxbase-strip foo.exe.ltrans0.ltrans.o -version -fexceptions -fltrans foo.exe.ltrans0.o -o foo.exe.ltrans0.s
GNU GIMPLE (GCC) version 4.9.0 20131121 (experimental) (djgpp)
	compiled by GNU C version 4.9.0 20131121 (experimental), GMP version 5.1.2, MPFR version 3.1.2, MPC version 1.0.1
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
GNU GIMPLE (GCC) version 4.9.0 20131121 (experimental) (djgpp)
	compiled by GNU C version 4.9.0 20131121 (experimental), GMP version 5.1.2, MPFR version 3.1.2, MPC version 1.0.1
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
COLLECT_GCC_OPTIONS='-c' '-fexceptions' '-mtune=pentium' '-march=pentium' '-v' '-save-temps' '-mtune=pentium' '-march=pentium' '-dumpdir' './' '-dumpbase' 'foo.exe.ltrans0' '-fltrans' '-o' 'foo.exe.ltrans0.ltrans.o'
 h:/djgpp/bin/as.exe -v -o foo.exe.ltrans0.ltrans.o foo.exe.ltrans0.s
GNU assembler version 2.23.1 (djgpp) using BFD version (GNU Binutils) 2.23.1
COMPILER_PATH=h:/djgpp/lib/gcc/../../libexec/gcc/djgpp/4.90/;h:/djgpp/lib/gcc/../../libexec/gcc/;h:/djgpp/bin/../libexec/gcc/djgpp/4.90/;h:/djgpp/bin/../libexec/gcc/djgpp/4.90/;h:/djgpp/bin/../libexec/gcc/;h:/djgpp/bin/;h:/djgpp/bin/
LIBRARY_PATH=h:/djgpp/bin/../lib/gcc/djgpp/4.90/;h:/djgpp/bin/../lib/gcc/;h:/djgpp/bin/../lib/gcc/djgpp/4.90/;h:/djgpp/bin/../lib/gcc/djgpp/4.90/;h:/djgpp/bin/../lib/gcc/;h:/djgpp/lib/;h:/djgpp/bin/../lib/gcc/djgpp/4.90/../../../;h:/djgpp/lib/;h:/djgpp/bin/../lib/gcc/djgpp/4.90/../../../
COLLECT_GCC_OPTIONS='-c' '-fexceptions' '-mtune=pentium' '-march=pentium' '-v' '-save-temps' '-mtune=pentium' '-march=pentium' '-dumpdir' './' '-dumpbase' 'foo.exe.ltrans0' '-fltrans' '-o' 'foo.exe.ltrans0.ltrans.o'
[Leaving LTRANS h:/djgpp/tmp/ccLl050m.args]
[Leaving LTRANS foo.exe.ltrans0.o]
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-flto' '-o' 'foo.exe' '-mtune=pentium' '-march=pentium'
 h:/djgpp/bin/stubify.exe -v foo.exe
stubify for djgpp V2.X executables, Copyright (C) 1995-2003 DJ Delorie
stubify: foo.exe -> foo.000 -> foo.exe

--------------030005090902010605040906--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019