Re: Compiler error compiling brickos on m68k?
Hi Petter!
On 10/25/2016 04:46 PM, Petter Reinholdtsen wrote:
> I first tried to send to m68k@buildd.debian.org, as instructed on the
> buildd web pages, but it bounced, so I try again here:
Odd, that shouldn't happen. I will ask Aurelien to check the alias, mails
sent there should reach me, at least.
>> Is the build problem reported in
>> <URL: https://buildd.debian.org/status/fetch.php?pkg=brickos&arch=m68k&ver=0.9.0.dfsg-12.1&stamp=1477310441 >
>> a compiler error?
>>
>> The code look like this:
>>
>> void lnp_integrity_byte(unsigned char b) {
>> static unsigned char buffer[256+3];
>> static int bytesRead,endOfData;
>> static unsigned char chk;
>>
>> And the compiler error look like this:
>>
>> /<<PKGBUILDDIR>>/kernel/lnp.c: In function `lnp_integrity_byte':
>> /<<PKGBUILDDIR>>/kernel/lnp.c:262: error: register name given for non-register variable 'buffer'
>> /<<PKGBUILDDIR>>/kernel/lnp.c:263: error: register name given for non-register variable 'bytesRead'
>> /<<PKGBUILDDIR>>/kernel/lnp.c:263: error: register name given for non-register variable 'endOfData'
>> /<<PKGBUILDDIR>>/kernel/lnp.c:264: error: register name given for non-register variable 'chk'
>> ../Makefile.common:154: recipe for target 'lnp.o' failed
I will have to try reproducing it. If it is, it might be interesting for Andreas Schwab
to look at it.
Thanks for reporting it!
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaubitz@debian.org
`. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Reply to: