Search found 380 matches

by ChrisH
Tue Aug 11, 2020 7:02 pm
Forum: SDK Support
Topic: GCC & G++ randomly unable to compile C/C++ programs
Replies: 8
Views: 774

Re: GCC & G++ randomly unable to compile C/C++ programs

I've seen the above problem with: adtools-os4-8-20190301-697.lha adtools-os4-8-20200408-704.lha (These appear to be GCC v8.x) However it does seem to compile OK using: adtools-os4-20180501-552.lha (This appears to be GCC v5.5.0) So it looks like the port of GCC v8 hasn't been tested much (if at all)...
by ChrisH
Tue Aug 11, 2020 6:38 pm
Forum: SDK Support
Topic: GCC & G++ randomly unable to compile C/C++ programs
Replies: 8
Views: 774

Re: GCC & G++ randomly unable to compile C/C++ programs

I spoke too soon. Although it probably fixes my original issue, I have a new one where attempting to compile even the most simple PortablE program (from the C++ code it generates) produces something like: /GCC_adtools/bin/../lib/gcc/ppc-amigaos/8.4.0/../../../libstdc++.a(eh_alloc.o): In function `__...
by ChrisH
Mon Aug 10, 2020 8:43 pm
Forum: SDK Support
Topic: GCC & G++ randomly unable to compile C/C++ programs
Replies: 8
Views: 774

Re: GCC & G++ randomly unable to compile C/C++ programs

I would suspect a broken gcc install. Yes, but why sometimes work & sometimes not? And why do all the files exactly match those from the original SDK archive? You can get the latest newlib version from Sebastian Bauer's adtoolsgithub page. Great, thanks for the link. First test suggests this *may* ...
by ChrisH
Sun Aug 09, 2020 2:30 pm
Forum: SDK Support
Topic: GCC & G++ randomly unable to compile C/C++ programs
Replies: 8
Views: 774

Re: GCC & G++ randomly unable to compile C/C++ programs

Hi Raziel. Slightly encouraging to know I'm not the sole person to get this error (which a Google search seemed to suggest!). Yes, I have 2GB of RAM (2*1GB DIMMs). But it happens even with the smallest possible C/C++ project: int main() { return 0; } So GCC memory usage shouldn't be a factor. (In fa...
by ChrisH
Sat Aug 08, 2020 5:35 pm
Forum: SDK Support
Topic: GCC & G++ randomly unable to compile C/C++ programs
Replies: 8
Views: 774

GCC & G++ randomly unable to compile C/C++ programs

After booting AmigaOS4.1FE on an X1000, sometimes I find that GCC/G++ refuses to compile any C/C++ program. G++ just reports: assertion "cached == 0" failed: file "../../gcc/libcpp/line-map.c", line 277 cc1plus: internal compiler error: Aborted Please submit a full bug report, with preprocessed sour...
by ChrisH
Sun Jan 27, 2019 10:14 pm
Forum: Platform: AmigaOne X1000
Topic: Battery time
Replies: 12
Views: 15367

Re: Battery time

My X1000's starting-up problem suddenly reappeared, which was unexpected since I'd only changed the battery 4 months ago. I was seeing: * I only got a black screen with a yellow square in the top left, or I got stripy graphical nonsense (seemed like a graphics card issue!). Or rarely if it did start...
by ChrisH
Tue Sep 11, 2018 7:01 pm
Forum: Platform: AmigaOne X1000
Topic: Battery time
Replies: 12
Views: 15367

Re: Battery time

@ChrisH https://amigaworld.net/modules/newbb/viewtopic.php?topic_id=42657&forum=33 I really wonder why a drained battery could cause that much (and completely unrelated) issues... Sounds like you had similar symptoms to me, but it took you a lot longer to get it resolved :( I guess your first repla...
by ChrisH
Mon Sep 10, 2018 6:36 pm
Forum: Platform: AmigaOne X1000
Topic: Battery time
Replies: 12
Views: 15367

Re: Battery time

Any tips on how to *remove* the battery, without risking the screwdriver snapping back & hitting the motherboard??? :-( EDIT: Never mind, I managed to do it (with great difficulty - although my cramped custom case no-doubt didn't help). My 3v battery had apparently dropped to 1.2v to 1.5v (weirdly v...
by ChrisH
Wed Jun 29, 2016 1:51 pm
Forum: General AmigaOS
Topic: How to add Little Endian support to OS? (for easier porting)
Replies: 16
Views: 14356

Re: How to add Little Endian support to OS? (for easier port

@xenic I was hoping you would explain why my proposal is non-viable :( . I don't see why that would require explaining an entirely different technical solution... (And as I said, you are welcome to start a different thread discussing that different solution - I might even take part. I just want to p...
by ChrisH
Wed Jun 29, 2016 1:39 pm
Forum: General AmigaOS
Topic: How to add Little Endian support to OS? (for easier porting)
Replies: 16
Views: 14356

Re: How to add Little Endian support to OS? (for easier port

Compilers produce a LOT of "li" values in PPC compilation along with 16b and 32b values inlined directly into the ".text" section. Without any means of marking these inline values, access to any of them immediately veto's use of the MMU to magic-convert the value at runtime. (This also introduces m...