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

kdevel kdevel at vogtner.de
Thu Feb 22 21:34:34 UTC 2018


On Thursday, 22 February 2018 at 19:52:12 UTC, Johannes Pfau 
wrote:
> I've pushed an update to the gdc-4.9 branch. Please report back 
> whether this fixes the issue.

Not really:

checking for expf... 
/scratch/mockbuild1/bld-4.9.4/gcc-4.9.4/libphobos/libdruntime/core/cpuid.d:833:45: error: basic type expected, not {
              version(GNU) pure nothrow @nogc {
                                              ^
/scratch/mockbuild1/bld-4.9.4/gcc-4.9.4/libphobos/libdruntime/core/cpuid.d:833:45: error: no identifier for declarator _error_
              version(GNU) pure nothrow @nogc {
                                              ^
/scratch/mockbuild1/bld-4.9.4/gcc-4.9.4/libphobos/libdruntime/core/cpuid.d:835:15: error: found 'else' instead of statement
              } else asm pure nothrow @nogc {
                ^
/scratch/mockbuild1/bld-4.9.4/gcc-4.9.4/libphobos/libdruntime/core/cpuid.d:844:5: error: declaration expected, not 'if'
      if (max_extended_cpuid >= 0x8000_0004) {
      ^
/scratch/mockbuild1/bld-4.9.4/gcc-4.9.4/libphobos/libdruntime/core/cpuid.d:848:21: error: unexpected ( in declarator
              gnuCpuid(0x8000_0002, pnb[0], pnb[1], pnb[ 2], pnb[ 
3]);
                      ^
/scratch/mockbuild1/bld-4.9.4/gcc-4.9.4/libphobos/libdruntime/core/cpuid.d:848:22: error: basic type expected, not 2147483650U
              gnuCpuid(0x8000_0002, pnb[0], pnb[1], pnb[ 2], pnb[ 
3]);
                       ^
/scratch/mockbuild1/bld-4.9.4/gcc-4.9.4/libphobos/libdruntime/core/cpuid.d:848:22: error: found '2147483650U' when expecting ')'
              gnuCpuid(0x8000_0002, pnb[0], pnb[1], pnb[ 2], pnb[ 
3]);

...


More information about the D.gnu mailing list