17 June 2017, 18:00 | #341 |
bye
Join Date: Jun 2016
Location: Some / Where
Posts: 681
|
|
17 June 2017, 18:04 | #342 |
Registered User
Join Date: May 2017
Location: Belgium
Age: 50
Posts: 334
|
|
17 June 2017, 18:31 | #343 |
Registered User
Join Date: May 2017
Location: Belgium
Age: 50
Posts: 334
|
|
19 June 2017, 08:27 | #344 | |
bye
Join Date: Jun 2016
Location: Some / Where
Posts: 681
|
Quote:
Code:
./toolchain-m68k build --threads=8 >& b.log |
|
19 June 2017, 13:23 | #345 |
AmigaDev.com
Join Date: Mar 2016
Location: Stockholm, Sweden
Age: 35
Posts: 625
|
Wait, do you mean that you're pulling the entirety of gcc+ branches each time when you say "fresh pull"? Because gcc is huge (like several GBs) and may take forever depending on how slow your internet connection is.
|
19 June 2017, 21:20 | #346 | |
bye
Join Date: Jun 2016
Location: Some / Where
Posts: 681
|
Quote:
Code:
git pull I only ment: pull again - do not rely on your pull 5 sconds ago. |
|
19 June 2017, 21:22 | #347 |
AmigaDev.com
Join Date: Mar 2016
Location: Stockholm, Sweden
Age: 35
Posts: 625
|
|
19 June 2017, 21:40 | #348 |
Registered User
Join Date: May 2017
Location: Belgium
Age: 50
Posts: 334
|
Hehe, I thought so. No, I meant just pulling bebbo's github repository again, into an new amigaos-cross-toolchain directory. So my first command was this:
Code:
git clone git://github.com/bebbo/amigaos-cross-toolchain.git Anyway, I'll be doing further timing test from a clean build (and so not downloading anything, I guess). I'd like this process to time itself, though, so I wrote a script to do this. I also redirected the ouput to null, which is probably even more efficient than to a file. Here's my script: Code:
#!/bin/bash start=$(date +%s) ./toolchain-m68k build --threads=12 >&/dev/null end=$(date +%s) runtime=$(python -c "print '%u:%02u' % ((${end} - ${start})/60, (${end} - ${start})%60)") echo "Runtime was $runtime" |
19 June 2017, 21:44 | #349 |
AmigaDev.com
Join Date: Mar 2016
Location: Stockholm, Sweden
Age: 35
Posts: 625
|
Bebbo's repository includes the gcc6 repository as a submodule, which is large. So everytime you make a new clone of the repository and run the toolchain command, you re-download the entire gcc6 repository too, which is probably why it takes so long for you each time.
Last edited by Marlon_; 19 June 2017 at 21:51. |
19 June 2017, 21:53 | #350 | |
Registered User
Join Date: May 2017
Location: Belgium
Age: 50
Posts: 334
|
Quote:
As mentioned above though, I no longer do that, and when I build from a clean source, it still takes about 50 minutes -- which apparently is way more than expected on my rig. I'm still trying to figure out why that is.. |
|
19 June 2017, 21:54 | #351 | |
AmigaDev.com
Join Date: Mar 2016
Location: Stockholm, Sweden
Age: 35
Posts: 625
|
Quote:
|
|
19 June 2017, 21:58 | #352 |
Registered User
Join Date: May 2017
Location: Belgium
Age: 50
Posts: 334
|
|
19 June 2017, 22:10 | #353 |
Registered User
Join Date: May 2017
Location: Belgium
Age: 50
Posts: 334
|
Ok, I've cleaned the build (took 41 seconds), and I've jus started a (timed) build which redirects its output to /dev/null. I'll let you know the results when it's done.
|
19 June 2017, 22:37 | #354 | |
AmigaDev.com
Join Date: Mar 2016
Location: Stockholm, Sweden
Age: 35
Posts: 625
|
Quote:
Code:
[marlon@hastur]:~/amigaos-cross-toolchain$ date; m68k-build --threads=8 >& b.log;date Mon Jun 19 22:11:37 CEST 2017 Mon Jun 19 22:26:59 CEST 2017 But this machine is a dedicated Intel Xeon server, so that might improve the compile time too. |
|
19 June 2017, 22:56 | #355 | |
Registered User
Join Date: May 2017
Location: Belgium
Age: 50
Posts: 334
|
Quote:
My script just finished, and it took just over 35 minutes. This is way better than what I used to have, but still more than 2 times slower than your time. My specs are here: http://eab.abime.net/showpost.php?p=...&postcount=330 (building on an SSD, btw). Could our different specs explain our different runtimes, you think? |
|
19 June 2017, 23:10 | #356 | |
AmigaDev.com
Join Date: Mar 2016
Location: Stockholm, Sweden
Age: 35
Posts: 625
|
Quote:
But if Bebbo get 18 mins on his 5 year old laptop, I feel like my server should be able to compile faster than 15 min. This is the CPU I have: http://ark.intel.com/products/88172/...Cache-3_00-GHz |
|
19 June 2017, 23:23 | #357 | |
Registered User
Join Date: May 2017
Location: Belgium
Age: 50
Posts: 334
|
Quote:
I also feel I should definitely end up below bebbo's laptop time, tbh, even without doing anything! |
|
19 June 2017, 23:42 | #358 |
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
|
Did you try building on a RAM-drive yet?
Another thing to try is to turn off the real-time protection in your AV software during building. Most AV softwares on Windows will be triggered every time a file is created on disk, and there are lots produced during the build. |
19 June 2017, 23:49 | #359 | |
Registered User
Join Date: May 2017
Location: Belgium
Age: 50
Posts: 334
|
Quote:
I do have to turn off my AVG-free while doing this; otherwise it would pop up more frequently than its layout manager seems to be able to handle.. |
|
20 June 2017, 14:42 | #360 |
AmigaDev.com
Join Date: Mar 2016
Location: Stockholm, Sweden
Age: 35
Posts: 625
|
@bebbo
Latest revision of the toolchain makes the compiling of milkytracker broken. It compiles fine at -O3, but I get "Program aborted" when I try to run it. It compiles fine at -O2 too, but I haven't gotten around to try to run it yet. -Os and -O1 gives me compiler errors. Maybe these errors are related to why I can no longer execute milkytracker when compiled with -O3? I have not made any significant changes in my code. -Os: Code:
In file included from ../src/milkyplay/ResamplerFactory.cpp:42:0: ../src/milkyplay/ResamplerAmiga.h: In member function ‘void ResamplerAmiga<filterTable>::addBlockNoCheck(mp_sint32*, ChannelMixer::TMixerChannel*, mp_uint32) [with int filterTable = 0]’: ../src/milkyplay/ResamplerAmiga.h:269:2: error: unrecognizable insn: } ^ (insn 458 139 140 (set (reg:SI 3 d3 [263]) (mult:SI (post_inc:SI (reg:SI 3 d3 [261])) (mem:SI (reg/f:SI 8 a0 [orig:154 _179 ] [154]) [1 _179->level+0 S4 A16]))) -1 (nil)) ../src/milkyplay/ResamplerAmiga.h:269:2: internal compiler error: in extract_insn, at recog.c:2287 0xdce75b _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) /home/marlon/amigaos-cross-toolchain/submodules/gcc-6/gcc/rtl-error.c:108 0xdce79c _fatal_insn_not_found(rtx_def const*, char const*, int, char const*) /home/marlon/amigaos-cross-toolchain/submodules/gcc-6/gcc/rtl-error.c:116 0xd82900 extract_insn(rtx_insn*) /home/marlon/amigaos-cross-toolchain/submodules/gcc-6/gcc/recog.c:2287 0xd825cf extract_insn_cached(rtx_insn*) /home/marlon/amigaos-cross-toolchain/submodules/gcc-6/gcc/recog.c:2178 0xaed844 cleanup_subreg_operands(rtx_insn*) /home/marlon/amigaos-cross-toolchain/submodules/gcc-6/gcc/final.c:3106 0xaed23a final_scan_insn(rtx_insn*, _IO_FILE*, int, int, int*) /home/marlon/amigaos-cross-toolchain/submodules/gcc-6/gcc/final.c:2907 0xaeb6d5 final(rtx_insn*, _IO_FILE*, int) /home/marlon/amigaos-cross-toolchain/submodules/gcc-6/gcc/final.c:2045 0xaefeaa rest_of_handle_final /home/marlon/amigaos-cross-toolchain/submodules/gcc-6/gcc/final.c:4448 0xaf00a8 execute /home/marlon/amigaos-cross-toolchain/submodules/gcc-6/gcc/final.c:4523 Code:
In file included from ../src/milkyplay/ResamplerFactory.cpp:42:0: ../src/milkyplay/ResamplerAmiga.h: In member function ‘void ResamplerAmiga<filterTable>::addBlockNoCheck(mp_sint32*, ChannelMixer::TMixerChannel*, mp_uint32) [with int filterTable = 0]’: ../src/milkyplay/ResamplerAmiga.h:269:2: error: unrecognizable insn: } ^ (insn 541 143 144 (set (reg:SI 7 d7 [289]) (mult:SI (post_inc:SI (reg:SI 7 d7 [287])) (mem:SI (reg/f:SI 9 a1 [orig:163 _184 ] [163]) [1 _184->level+0 S4 A16]))) -1 (nil)) ../src/milkyplay/ResamplerAmiga.h:269:2: internal compiler error: in extract_insn, at recog.c:2287 0xdce75b _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) /home/marlon/amigaos-cross-toolchain/submodules/gcc-6/gcc/rtl-error.c:108 0xdce79c _fatal_insn_not_found(rtx_def const*, char const*, int, char const*) /home/marlon/amigaos-cross-toolchain/submodules/gcc-6/gcc/rtl-error.c:116 0xd82900 extract_insn(rtx_insn*) /home/marlon/amigaos-cross-toolchain/submodules/gcc-6/gcc/recog.c:2287 0xd825cf extract_insn_cached(rtx_insn*) /home/marlon/amigaos-cross-toolchain/submodules/gcc-6/gcc/recog.c:2178 0xaed844 cleanup_subreg_operands(rtx_insn*) /home/marlon/amigaos-cross-toolchain/submodules/gcc-6/gcc/final.c:3106 0xaed23a final_scan_insn(rtx_insn*, _IO_FILE*, int, int, int*) /home/marlon/amigaos-cross-toolchain/submodules/gcc-6/gcc/final.c:2907 0xaeb6d5 final(rtx_insn*, _IO_FILE*, int) /home/marlon/amigaos-cross-toolchain/submodules/gcc-6/gcc/final.c:2045 0xaefeaa rest_of_handle_final /home/marlon/amigaos-cross-toolchain/submodules/gcc-6/gcc/final.c:4448 0xaf00a8 execute /home/marlon/amigaos-cross-toolchain/submodules/gcc-6/gcc/final.c:4523 |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
New GCC based dev toolchain for AmigaOS 3.x | cla | Coders. Releases | 8 | 24 December 2017 10:18 |
Issue with photon/xxxx WinUAE Toolchain | arpz | Coders. Asm / Hardware | 2 | 26 September 2015 22:33 |
New 68k gcc toolchain | arti | Coders. C/C++ | 17 | 31 July 2015 03:59 |
Hannibal's WinUAE Demo Toolchain 5 | Bobic | Amiga scene | 1 | 23 July 2015 21:04 |
From gcc to vbcc. | Cowcat | Coders. General | 9 | 06 June 2014 14:45 |
|
|