i-nex / I-Nex

System information tool written in gambas3, python, bash
http://i-nex.linux.pl/
174 stars 24 forks source link

Pixmaps error when compiling. #54

Open ghost opened 7 years ago

ghost commented 7 years ago

checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for gambas3 binaries... Ok checking for gambas3 components path... Ok checking for gb.image component... Ok checking for gb.qt5 component... Ok checking for gb.form component... Ok checking for gb.desktop.x11 component... Ok checking for gb.desktop component... Ok checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile Build I-Nex... make -C I-Nex Build JSON... make -C JSON make[1]: se entra en el directorio '/home/ufeldraku/.cache/pacaur/i-nex-git/src/i-nex-git/I-Nex' Build Pixmaps... make -C pixmaps make[1]: se entra en el directorio '/home/ufeldraku/.cache/pacaur/i-nex-git/src/i-nex-git/JSON' Compiling i-nex project... make[1]: se entra en el directorio '/home/ufeldraku/.cache/pacaur/i-nex-git/src/i-nex-git/pixmaps' OK convert i-nex.png -resize 16x16 i-nex-16.png Compile Not Static ✔ Compile i-nex-edid ✔ gcc -o i-nex-edid i-nex-edid.c -g -Wall -O2 make[1]: se sale del directorio '/home/ufeldraku/.cache/pacaur/i-nex-git/src/i-nex-git/I-Nex' Compile i-nex-cpuid ✔ gcc -o i-nex-cpuid i-nex-cpuid.c -I/usr/include/libcpuid -lcpuid -O2 i-nex-edid.c: En la función ‘detailed_block’: i-nex-edid.c:194:2: aviso: puede ser que se utilice ‘width’ sin inicializar en esta función [-Wmaybe-uninitialized] printf(" %dx%d @ ( %s%s%s%s%s) Hz (%s%s preferred)\n", width, height, ^~~~~~~~~~~~~~~~ fifty ? "50 " : "",

   sixty ? "60 " : "",

seventyfive ? "75 " : "",

   eightyfive ? "85 " : "",

reduced ? "60RB " : "",

   names[(x[2] & 0x60) >> 5],

(((x[2] & 0x60) == 0x20) && reduced) ? "RB" : "");

i-nex-edid.c:155:9: nota: ‘width’ se declaró aquí
     int width, height;
         ^~~~~
i-nex-edid.c: En la función ‘main’:
i-nex-edid.c:2045:26: aviso: puede ser que se utilice ‘conformant_extension’ sin inicializar en esta función [-Wmaybe-uninitialized]
  nonconformant_extension += parse_extension(x);
                          ^~
i-nex-edid.c:110:5: aviso: puede ser que se utilice ‘v’ sin inicializar en esta función [-Wmaybe-uninitialized]
     printf("%s%s: %s (%d)\n", prefix, field->name, v->description, val);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
i-nex-edid.c:95:19: nota: ‘v’ se declaró aquí
     struct value *v;
                   ^
make[1]: se sale del directorio '/home/ufeldraku/.cache/pacaur/i-nex-git/src/i-nex-git/JSON'
LLVM ERROR: Cannot select: 0x2d7c980: v2i32,ch = REGISTER_LOAD 0x2dd9580, 0x2c91df0, TargetConstant:i32<0>, undef:i32
  0x2c91df0: i32 = srl 0x2c8c730, Constant:i32<2>
    0x2c8c730: i32 = add 0x2ddf950, Constant:i32<8>
      0x2ddf950: i32 = srl 0x2dd9a40, Constant:i32<13>
        0x2dd9a40: i32 = add 0x2dd97e0, 0x2c923e0
          0x2dd97e0: i32 = and 0x2737080, Constant:i32<65536>
            0x2737080: i32 = shl 0x2dda290, Constant:i32<1>
              0x2dda290: i32 = select_cc 0x2c84480, Constant:i32<0>, 0x2c92050, 0x2c93650, seteq:ch
                0x2c84480: i32 = srl 0x2c93650, Constant:i32<23>
                  0x2c93650: i32 = bitcast 0x2c8c860
              0x2c8f620: i32 = Constant<23>
            0x2731040: i32 = Constant<0>
            0x2c92050: i32 = bitcast 0x2ddca60
              0x2ddca60: f32 = fadd 0x2c8c010, ConstantFP:f32<-1.000000e+00>

            0x2c93650: i32 = bitcast 0x2c8c860
              0x2c8c860: f32 = fadd 0x2c8bdb0, 0x2c8bdb0

          0x2736a90: i32 = Constant<1>
        0x2c922b0: i32 = Constant<65536>
      0x2c923e0: i32 = and 0x2dda290, Constant:i32<8323072>
        0x2dda290: i32 = select_cc 0x2c84480, Constant:i32<0>, 0x2c92050, 0x2c93650, seteq:ch
          0x2c84480: i32 = srl 0x2c93650, Constant:i32<23>
            0x2c93650: i32 = bitcast 0x2c8c860
              0x2c8c860: f32 = fadd 0x2c8bdb0, 0x2c8bdb0

            0x2c8f620: i32 = Constant<23>
          0x2731040: i32 = Constant<0>
          0x2c92050: i32 = bitcast 0x2ddca60
            0x2ddca60: f32 = fadd 0x2c8c010, ConstantFP:f32<-1.000000e+00>
              0x2c8c010: f32 = bitcast 0x2c8bee0

              0x2c84a70: f32 = ConstantFP<-1.000000e+00>
          0x2c93650: i32 = bitcast 0x2c8c860
            0x2c8c860: f32 = fadd 0x2c8bdb0, 0x2c8bdb0
              0x2c8bdb0: f32,ch = CopyFromReg 0x2fdfaa0, Register:f32 %vreg127

              0x2c8bdb0: f32,ch = CopyFromReg 0x2fdfaa0, Register:f32 %vreg127

        0x2dda030: i32 = Constant<8323072>
    0x2c840f0: i32 = Constant<13>
  0x2ddfce0: i32 = Constant<8>
0x2733e00: i32 = Constant<2>

0x2c92f30: i32 = TargetConstant<0> 0x2736cf0: i32 = undef In function: AddNoise make[1]: * [Makefile:4: make] Error 1 make[1]: se sale del directorio '/home/ufeldraku/.cache/pacaur/i-nex-git/src/i-nex-git/pixmaps' make: * [Makefile:30: build-pixmaps] Error 2 ==> ERROR: Se produjo un fallo en build(). Cancelando… :: failed to build i-nex-git package(s)

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/38129193-pixmaps-error-when-compiling?utm_campaign=plugin&utm_content=tracker%2F488098&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F488098&utm_medium=issues&utm_source=github).
eloaders commented 7 years ago

Run make width LC_ALL=C and paste output: which convert

ghost commented 7 years ago

which convert

/usr/bin/convert I'm actually installing it through pacaur.

ghost commented 7 years ago

Nothing, it's the same error.

alphastar868 commented 7 years ago

@Ufeldraku

This looks to be related to an LLVM (compiler toolchain) bug described here, and/or changes to MachineValueType.h between LLVM versions.

Changing LLVM to a newer/different version or configuration may resolve

eloaders commented 7 years ago

@Ufeldraku

Probably the problem is solved, you need to check and let me know. Remember to build with the latest sources

ghost commented 7 years ago

ok

ghost commented 7 years ago

Nope, It aint solved.