bugzilla.gdcproject.org: No confirmation mail; cpuid.d:838:17: error: PIC register clobbered by 'ebx' in ' asm'

Johannes Pfau nospam at example.com
Wed Feb 21 07:58:29 UTC 2018


Am Mon, 19 Feb 2018 19:43:49 +0000
schrieb kdevel <kdevel at vogtner.de>:

> I do not get a confirmation email from bugzilla after entering my 
> e-mail address here: 
> https://bugzilla.gdcproject.org/createaccount.cgi
> 
> I tried to build patched versions of GCC 4.8.5 and 4.9.4 but this 
> happened:
> 
> .../gcc-4.8.5/libphobos/libdruntime/core/cpuid.d: In function 
> 'cpuidX86':
> .../gcc-4.8.5/libphobos/libdruntime/core/cpuid.d:838:17: error: 
> PIC register clobbered by 'ebx' in ' asm'
> "cpuid" : "=a" a, "=c" c : "a" 0x8000_0008 : "ebx", "edx";
> ^
> 
> patch branch gdc-4.8 commit 
> 8b43f71621673c4d0f3f0665c397a1d80d5b434e
> 
> and
> 
> .../gcc-4.9.4/libphobos/libdruntime/core/cpuid.d: In function 
> 'cpuidX86':
> .../gcc-4.9.4/libphobos/libdruntime/core/cpuid.d:838:17: error: 
> PIC register clobbered by 'ebx' in ' asm'
> "cpuid" : "=a" a, "=c" c : "a" 0x8000_0008 : "ebx", "edx";
> ^
> 
> patch branch gdc-4.9 commit 
> 93a9105be173472a9e57aa12c43528ae15d1319c

Thanks for the report. That's a bug which was for some reason not caught
by the CI. I guess it's a i686 only bug and IIRC that isn't tested right
now.

I'll submit a fix later today or tomorrow.


-- Johannes



More information about the D.gnu mailing list