GithubHelp home page GithubHelp logo

jhamby / gentoo-powermac Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 144 KB

Gentoo repo overlay for my PowerMac bug fixes and features. Includes patches to fix Node.js for older PowerPC CPUs. I'm working on big-endian bug fixes for Firefox and others.

Shell 100.00%

gentoo-powermac's Introduction

gentoo-powermac repo overlay

Jake's Gentoo repo overlay for PowerPC and PowerMac bug fixes and features.

Installation

Sync this repo to a location such as /var/db/repos/gentoo-powermac, and then add this file to /etc/portage/repos.conf/gentoo-powermac.conf:

[gentoo-powermac]
location = /var/db/repos/gentoo-powermac
auto-sync = no
priority = 100
strict-misc-digests = false
sync-openpgp-key-refresh = false

gentoo-powermac's People

Contributors

jhamby avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

denisys16

gentoo-powermac's Issues

media-libs/libwebp: fails to decode images from the web (palettes swapped)

Since libwebp doesn't seem to have a testsuite like libvpx has, I didn't notice any problems when I built it. But now that I have Firefox mostly working, I see the color palettes are swapped.

One way to notice something is wrong is with the "webpinfo" example utility:

portage@gentoog5 ~/media-libs/libwebp-1.1.0/work/libwebp-1.1.0-.ppc64 $ ./examples/webpinfo -diag ../libwebp-1.1.0/examples/test.webp
File: ../libwebp-1.1.0/examples/test.webp
RIFF HEADER:
File size: 4880
Warning: Unknown chunk at offset 12, length 4868
Error: No image/frame detected.
Errors detected.

I'll see if the errors are related to those in libvpx (#3).

media-libs/mesa: fix failing test cases (byte order issues)

Mesa is giving me a lot of failing test case results on big-endian ppc64. With the possible exception of the 084-unbalanced-parentheses failures, they all look like byte-swapping bugs. Here's the first group of util_format_* failures (there are many more failures like this):

Testing util_format_b5g5r5a1_unorm_fetch_rgba_float ...
FAILED: {0.225806, 0.774194, 0.000000, 0.000000} obtained
        {0.000000, 0.000000, 1.000000, 0.000000} expected
FAILED: {0.774194, 0.000000, 0.096774, 1.000000} obtained
        {0.000000, 1.000000, 0.000000, 0.000000} expected
FAILED: {0.000000, 0.096774, 0.903226, 0.000000} obtained
        {1.000000, 0.000000, 0.000000, 0.000000} expected
FAILED: {0.000000, 0.129032, 0.000000, 0.000000} obtained
        {0.000000, 0.000000, 0.000000, 1.000000} expected
Testing util_format_b5g5r5a1_unorm_pack_rgba_float ...
FAILED: 00 1f obtained
        1f 00 expected
FAILED: 03 e0 obtained
        e0 03 expected
FAILED: 7c 00 obtained
        00 7c expected
FAILED: 80 00 obtained
        00 80 expected
Testing util_format_b5g5r5a1_unorm_unpack_rgba ...
FAILED: {0.225806, 0.774194, 0.000000, 0.000000} obtained
        {0.000000, 0.000000, 1.000000, 0.000000} expected
FAILED: {0.774194, 0.000000, 0.096774, 1.000000} obtained
        {0.000000, 1.000000, 0.000000, 0.000000} expected
FAILED: {0.000000, 0.096774, 0.903226, 0.000000} obtained
        {1.000000, 0.000000, 0.000000, 0.000000} expected
FAILED: {0.000000, 0.129032, 0.000000, 0.000000} obtained
        {0.000000, 0.000000, 0.000000, 1.000000} expected
Testing util_format_b5g5r5a1_unorm_pack_rgba_8unorm ...
FAILED: 00 1f obtained
        1f 00 expected
FAILED: 03 e0 obtained
        e0 03 expected
FAILED: 7c 00 obtained
        00 7c expected
FAILED: 80 00 obtained
        00 80 expected
Testing util_format_b5g5r5a1_unorm_unpack_rgba_8unorm ...
FAILED: {0x39, 0xc5, 0x00, 0x00} obtained
        {0x00, 0x00, 0xff, 0x00} expected
FAILED: {0xc5, 0x00, 0x18, 0xff} obtained
        {0x00, 0xff, 0x00, 0x00} expected
FAILED: {0x00, 0x18, 0xe6, 0x00} obtained
        {0xff, 0x00, 0x00, 0x00} expected
FAILED: {0x00, 0x20, 0x00, 0x00} obtained
        {0x00, 0x00, 0x00, 0xff} expected

Testing util_format_b4g4r4a4_unorm_fetch_rgba_float ...
FAILED: {1.000000, 0.000000, 0.000000, 0.000000} obtained
        {0.000000, 0.000000, 1.000000, 0.000000} expected
FAILED: {0.000000, 0.000000, 0.000000, 1.000000} obtained
        {0.000000, 1.000000, 0.000000, 0.000000} expected
FAILED: {0.000000, 0.000000, 1.000000, 0.000000} obtained
        {1.000000, 0.000000, 0.000000, 0.000000} expected
FAILED: {0.000000, 1.000000, 0.000000, 0.000000} obtained
        {0.000000, 0.000000, 0.000000, 1.000000} expected
Testing util_format_b4g4r4a4_unorm_pack_rgba_float ...
FAILED: 00 0f obtained
        0f 00 expected
FAILED: 00 f0 obtained
        f0 00 expected
FAILED: 0f 00 obtained
        00 0f expected
FAILED: f0 00 obtained
        00 f0 expected
Testing util_format_b4g4r4a4_unorm_unpack_rgba ...
FAILED: {1.000000, 0.000000, 0.000000, 0.000000} obtained
        {0.000000, 0.000000, 1.000000, 0.000000} expected
FAILED: {0.000000, 0.000000, 0.000000, 1.000000} obtained
        {0.000000, 1.000000, 0.000000, 0.000000} expected
FAILED: {0.000000, 0.000000, 1.000000, 0.000000} obtained
        {1.000000, 0.000000, 0.000000, 0.000000} expected
FAILED: {0.000000, 1.000000, 0.000000, 0.000000} obtained
        {0.000000, 0.000000, 0.000000, 1.000000} expected
Testing util_format_b4g4r4a4_unorm_pack_rgba_8unorm ...
FAILED: 00 0f obtained
        0f 00 expected
FAILED: 00 f0 obtained
        f0 00 expected
FAILED: 0f 00 obtained
        00 0f expected
FAILED: f0 00 obtained
        00 f0 expected
Testing util_format_b4g4r4a4_unorm_unpack_rgba_8unorm ...
FAILED: {0xff, 0x00, 0x00, 0x00} obtained
        {0x00, 0x00, 0xff, 0x00} expected
FAILED: {0x00, 0x00, 0x00, 0xff} obtained
        {0x00, 0xff, 0x00, 0x00} expected
FAILED: {0x00, 0x00, 0xff, 0x00} obtained
        {0xff, 0x00, 0x00, 0x00} expected
FAILED: {0x00, 0xff, 0x00, 0x00} obtained
        {0x00, 0x00, 0x00, 0xff} expected

Testing util_format_b5g6r5_unorm_fetch_rgba_float ...
FAILED: {0.096774, 0.888889, 0.000000, 1.000000} obtained
        {0.000000, 0.000000, 1.000000, 1.000000} expected
FAILED: {0.903226, 0.000000, 0.225806, 1.000000} obtained
        {0.000000, 1.000000, 0.000000, 1.000000} expected
FAILED: {0.000000, 0.111111, 0.774194, 1.000000} obtained
        {1.000000, 0.000000, 0.000000, 1.000000} expected
Testing util_format_b5g6r5_unorm_pack_rgba_float ...
FAILED: 00 1f obtained
        1f 00 expected
FAILED: 07 e0 obtained
        e0 07 expected
FAILED: f8 00 obtained
        00 f8 expected
Testing util_format_b5g6r5_unorm_unpack_rgba ...
FAILED: {0.096774, 0.888889, 0.000000, 1.000000} obtained
        {0.000000, 0.000000, 1.000000, 1.000000} expected
FAILED: {0.903226, 0.000000, 0.225806, 1.000000} obtained
        {0.000000, 1.000000, 0.000000, 1.000000} expected
FAILED: {0.000000, 0.111111, 0.774194, 1.000000} obtained
        {1.000000, 0.000000, 0.000000, 1.000000} expected
Testing util_format_b5g6r5_unorm_pack_rgba_8unorm ...
FAILED: 00 1f obtained
        1f 00 expected
FAILED: 07 e0 obtained
        e0 07 expected
FAILED: f8 00 obtained
        00 f8 expected
Testing util_format_b5g6r5_unorm_unpack_rgba_8unorm ...
FAILED: {0x18, 0xe2, 0x00, 0xff} obtained
        {0x00, 0x00, 0xff, 0xff} expected
FAILED: {0xe6, 0x00, 0x39, 0xff} obtained
        {0x00, 0xff, 0x00, 0xff} expected
FAILED: {0x00, 0x1c, 0xc5, 0xff} obtained
        {0xff, 0x00, 0x00, 0xff} expected
Testing util_format_b5g6r5_unorm_norm_flags ...
Testing util_format_r10g10b10a2_unorm_fetch_rgba_float ...
FAILED: {0.000000, 0.187683, 0.985337, 1.000000} obtained
        {1.000000, 0.000000, 0.000000, 0.000000} expected
FAILED: {0.750733, 0.753666, 0.014663, 0.000000} obtained
        {0.000000, 1.000000, 0.000000, 0.000000} expected
FAILED: {0.061584, 0.058651, 0.000000, 0.000000} obtained
        {0.000000, 0.000000, 1.000000, 0.000000} expected
FAILED: {0.187683, 0.000000, 0.000000, 0.000000} obtained
        {0.000000, 0.000000, 0.000000, 1.000000} expected
Testing util_format_r10g10b10a2_unorm_pack_rgba_float ...
FAILED: 00 00 03 ff obtained
        ff 03 00 00 expected
FAILED: 00 0f fc 00 obtained
        00 fc 0f 00 expected
FAILED: 3f f0 00 00 obtained
        00 00 f0 3f expected
FAILED: c0 00 00 00 obtained
        00 00 00 c0 expected
Testing util_format_r10g10b10a2_unorm_unpack_rgba ...
FAILED: {0.000000, 0.187683, 0.985337, 1.000000} obtained
        {1.000000, 0.000000, 0.000000, 0.000000} expected
FAILED: {0.750733, 0.753666, 0.014663, 0.000000} obtained
        {0.000000, 1.000000, 0.000000, 0.000000} expected
FAILED: {0.061584, 0.058651, 0.000000, 0.000000} obtained
        {0.000000, 0.000000, 1.000000, 0.000000} expected
FAILED: {0.187683, 0.000000, 0.000000, 0.000000} obtained
        {0.000000, 0.000000, 0.000000, 1.000000} expected
Testing util_format_r10g10b10a2_unorm_pack_rgba_8unorm ...
FAILED: 00 00 03 ff obtained
        ff 03 00 00 expected
FAILED: 00 0f fc 00 obtained
        00 fc 0f 00 expected
FAILED: 3f f0 00 00 obtained
        00 00 f0 3f expected
FAILED: c0 00 00 00 obtained
        00 00 00 c0 expected
Testing util_format_r10g10b10a2_unorm_unpack_rgba_8unorm ...
FAILED: {0x00, 0x30, 0xfc, 0xff} obtained
        {0xff, 0x00, 0x00, 0x00} expected
FAILED: {0xc0, 0xc0, 0x03, 0x00} obtained
        {0x00, 0xff, 0x00, 0x00} expected
FAILED: {0x0f, 0x0f, 0x00, 0x00} obtained
        {0x00, 0x00, 0xff, 0x00} expected
FAILED: {0x30, 0x00, 0x00, 0x00} obtained
        {0x00, 0x00, 0x00, 0xff} expected

Testing util_format_z32_float_unpack_z_32unorm ...
FAILED: 0x00000000 obtained
        0xffffffff expected
Testing util_format_z32_float_pack_z_32unorm ...
FAILED: 3f 80 00 00 obtained
        00 00 80 3f expected
Testing util_format_z32_float_unpack_z_float ...
FAILED: 0.000000 obtained
        {1.000000, 0.000000, 0.000000, 0.000000} expected
Testing util_format_z32_float_pack_z_float ...
FAILED: 3f 80 00 00 obtained
        00 00 80 3f expected

Testing util_format_r32_float_fetch_rgba_float ...
FAILED: {0.000000, 0.000000, 0.000000, 1.000000} obtained
        {1.000000, 0.000000, 0.000000, 1.000000} expected
FAILED: {0.000000, 0.000000, 0.000000, 1.000000} obtained
        {-1.000000, 0.000000, 0.000000, 1.000000} expected
Testing util_format_r32_float_pack_rgba_float ...
FAILED: 3f 80 00 00 obtained
        00 00 80 3f expected
FAILED: bf 80 00 00 obtained
        00 00 80 bf expected
Testing util_format_r32_float_unpack_rgba ...
FAILED: {0.000000, 0.000000, 0.000000, 1.000000} obtained
        {1.000000, 0.000000, 0.000000, 1.000000} expected
FAILED: {0.000000, 0.000000, 0.000000, 1.000000} obtained
        {-1.000000, 0.000000, 0.000000, 1.000000} expected
Testing util_format_r32_float_pack_rgba_8unorm ...
FAILED: 3f 80 00 00 obtained
        00 00 80 3f expected
Testing util_format_r32_float_unpack_rgba_8unorm ...
FAILED: {0x00, 0x00, 0x00, 0xff} obtained
        {0xff, 0x00, 0x00, 0xff} expected
Testing util_format_r32_float_norm_flags ...
Testing util_format_r32g32_float_fetch_rgba_float ...
FAILED: {0.000000, 0.000000, 0.000000, 1.000000} obtained
        {1.000000, 0.000000, 0.000000, 1.000000} expected
FAILED: {0.000000, 0.000000, 0.000000, 1.000000} obtained
        {-1.000000, 0.000000, 0.000000, 1.000000} expected
FAILED: {0.000000, 0.000000, 0.000000, 1.000000} obtained
        {0.000000, 1.000000, 0.000000, 1.000000} expected
FAILED: {0.000000, 0.000000, 0.000000, 1.000000} obtained
        {0.000000, -1.000000, 0.000000, 1.000000} expected
FAILED: {0.000000, 0.000000, 0.000000, 1.000000} obtained
        {1.000000, 1.000000, 0.000000, 1.000000} expected
Testing util_format_r32g32_float_pack_rgba_float ...
FAILED: 3f 80 00 00 00 00 00 00 obtained
        00 00 80 3f 00 00 00 00 expected
FAILED: bf 80 00 00 00 00 00 00 obtained
        00 00 80 bf 00 00 00 00 expected
FAILED: 00 00 00 00 3f 80 00 00 obtained
        00 00 00 00 00 00 80 3f expected
FAILED: 00 00 00 00 bf 80 00 00 obtained
        00 00 00 00 00 00 80 bf expected
FAILED: 3f 80 00 00 3f 80 00 00 obtained
        00 00 80 3f 00 00 80 3f expected
Testing util_format_r32g32_float_unpack_rgba ...
FAILED: {0.000000, 0.000000, 0.000000, 1.000000} obtained
        {1.000000, 0.000000, 0.000000, 1.000000} expected
FAILED: {0.000000, 0.000000, 0.000000, 1.000000} obtained
        {-1.000000, 0.000000, 0.000000, 1.000000} expected
FAILED: {0.000000, 0.000000, 0.000000, 1.000000} obtained
        {0.000000, 1.000000, 0.000000, 1.000000} expected
FAILED: {0.000000, 0.000000, 0.000000, 1.000000} obtained
        {0.000000, -1.000000, 0.000000, 1.000000} expected
FAILED: {0.000000, 0.000000, 0.000000, 1.000000} obtained
        {1.000000, 1.000000, 0.000000, 1.000000} expected
Testing util_format_r32g32_float_pack_rgba_8unorm ...
FAILED: 3f 80 00 00 00 00 00 00 obtained
        00 00 80 3f 00 00 00 00 expected
FAILED: 00 00 00 00 3f 80 00 00 obtained
        00 00 00 00 00 00 80 3f expected
FAILED: 3f 80 00 00 3f 80 00 00 obtained
        00 00 80 3f 00 00 80 3f expected
Testing util_format_r32g32_float_unpack_rgba_8unorm ...
FAILED: {0x00, 0x00, 0x00, 0xff} obtained
        {0xff, 0x00, 0x00, 0xff} expected
FAILED: {0x00, 0x00, 0x00, 0xff} obtained
        {0x00, 0xff, 0x00, 0xff} expected
FAILED: {0x00, 0x00, 0x00, 0xff} obtained
        {0xff, 0xff, 0x00, 0xff} expected
Testing util_format_r32g32_float_norm_flags ...
Testing util_format_r32g32b32_float_fetch_rgba_float ...
FAILED: {0.000000, 0.000000, 0.000000, 1.000000} obtained
        {1.000000, 0.000000, 0.000000, 1.000000} expected
FAILED: {0.000000, 0.000000, 0.000000, 1.000000} obtained
        {-1.000000, 0.000000, 0.000000, 1.000000} expected
FAILED: {0.000000, 0.000000, 0.000000, 1.000000} obtained
        {0.000000, 1.000000, 0.000000, 1.000000} expected
FAILED: {0.000000, 0.000000, 0.000000, 1.000000} obtained
        {0.000000, -1.000000, 0.000000, 1.000000} expected
FAILED: {0.000000, 0.000000, 0.000000, 1.000000} obtained
        {0.000000, 0.000000, 1.000000, 1.000000} expected
FAILED: {0.000000, 0.000000, 0.000000, 1.000000} obtained
        {0.000000, 0.000000, -1.000000, 1.000000} expected
FAILED: {0.000000, 0.000000, 0.000000, 1.000000} obtained
        {1.000000, 1.000000, 1.000000, 1.000000} expected
Testing util_format_r32g32b32_float_pack_rgba_float ...
FAILED: 3f 80 00 00 00 00 00 00 00 00 00 00 obtained
        00 00 80 3f 00 00 00 00 00 00 00 00 expected
FAILED: bf 80 00 00 00 00 00 00 00 00 00 00 obtained
        00 00 80 bf 00 00 00 00 00 00 00 00 expected
FAILED: 00 00 00 00 3f 80 00 00 00 00 00 00 obtained
        00 00 00 00 00 00 80 3f 00 00 00 00 expected
FAILED: 00 00 00 00 bf 80 00 00 00 00 00 00 obtained
        00 00 00 00 00 00 80 bf 00 00 00 00 expected
FAILED: 00 00 00 00 00 00 00 00 3f 80 00 00 obtained
        00 00 00 00 00 00 00 00 00 00 80 3f expected
FAILED: 00 00 00 00 00 00 00 00 bf 80 00 00 obtained
        00 00 00 00 00 00 00 00 00 00 80 bf expected
FAILED: 3f 80 00 00 3f 80 00 00 3f 80 00 00 obtained
        00 00 80 3f 00 00 80 3f 00 00 80 3f expected

Other failed test cases include:


============= Testing for Correctness (Unix) =============

084-unbalanced-parentheses: FAIL
150/151 tests returned correct results

Failed to create ./cache-test-tmp/xdg-cache-home for shader cache (No such file or directory)---disabling.
--- 

+++ 

@@ -1,2 +1,2 @@

-0:2(8): preprocessor error: syntax error, unexpected end of file
+0:2(8): preprocessor error: syntax error, unexpected $end
 
============= Testing for Correctness (Windows) =============

084-unbalanced-parentheses: FAIL
150/151 tests returned correct results
Failed to create ./cache-test-tmp/mesa-glsl-cache-dir for shader cache (No such file or directory)---disabling.


[ RUN      ] MesaFormatsTest.FormatFromFormatAndType
../mesa-20.2.2/src/mesa/main/tests/mesa_formats.cpp:160: Failure
Expected equality of these values:
  fffat_wrap(0x1908, 0x1402)
    Which is: 0
  PIPE_FORMAT_R16G16B16A16_SNORM
    Which is: 62
[  FAILED  ] MesaFormatsTest.FormatFromFormatAndType (0 ms)
[ RUN      ] MesaFormatsTest.FormatMatchesFormatAndType
../mesa-20.2.2/src/mesa/main/tests/mesa_formats.cpp:174: Failure
Value of: _mesa_format_matches_format_and_type(MESA_FORMAT_RGBA_UNORM16, GL_RGBA, GL_UNSIGNED_SHORT, false, NULL)
  Actual: false
Expected: true
[  FAILED  ] MesaFormatsTest.FormatMatchesFormatAndType (0 ms)
[----------] 5 tests from MesaFormatsTest (1 ms total)

[  FAILED  ] 2 tests, listed below:
[  FAILED  ] MesaFormatsTest.FormatFromFormatAndType
[  FAILED  ] MesaFormatsTest.FormatMatchesFormatAndType

 2 FAILED TESTS

Testing PIPE_FORMAT_B5G5R5A1_UNORM (float) ...
FAILED
  Packed: 1f 00 00 00
  Unpacked (0,0): 0.225806445 0.774193525 0 0 obtained
                  0 0 1 0 expected
FAILED
  Packed: e0 03 00 00
  Unpacked (0,0): 0.774193525 0 0.0967741907 1 obtained
                  0 1 0 0 expected
FAILED
  Packed: 00 7c 00 00
  Unpacked (0,0): 0 0.0967741907 0.90322578 0 obtained
                  1 0 0 0 expected
FAILED
  Packed: 00 80 00 00
  Unpacked (0,0): 0 0.129032254 0 0 obtained
                  0 0 0 1 expected
Testing PIPE_FORMAT_B5G5R5A1_UNORM (unorm8) ...
FAILED
  Packed: 1f 00 00 00
  Unpacked (0,0): 00 00 00 00 obtained
                  00 00 ff 00 expected
FAILED
  Packed: e0 03 00 00
  Unpacked (0,0): 00 00 00 00 obtained
                  00 ff 00 00 expected
FAILED
  Packed: 00 7c 00 00
  Unpacked (0,0): 00 00 00 00 obtained
                  ff 00 00 00 expected
FAILED
  Packed: 00 80 00 00
  Unpacked (0,0): 00 00 00 00 obtained
                  00 00 00 ff expected
FAILED
  Packed: ff ff 00 00
  Unpacked (0,0): 00 00 00 00 obtained
                  ff ff ff ff expected
Testing PIPE_FORMAT_B4G4R4A4_UNORM (float) ...
FAILED
  Packed: 0f 00 00 00
  Unpacked (0,0): 1 0 0 0 obtained
                  0 0 1 0 expected
FAILED
  Packed: f0 00 00 00
  Unpacked (0,0): 0 0 0 1 obtained
                  0 1 0 0 expected
FAILED
  Packed: 00 0f 00 00
  Unpacked (0,0): 0 0 1 0 obtained
                  1 0 0 0 expected
FAILED
  Packed: 00 f0 00 00
  Unpacked (0,0): 0 1 0 0 obtained
                  0 0 0 1 expected
Testing PIPE_FORMAT_B4G4R4A4_UNORM (unorm8) ...
FAILED
  Packed: 0f 00 00 00
  Unpacked (0,0): 00 00 00 00 obtained
                  00 00 ff 00 expected
FAILED
  Packed: f0 00 00 00
  Unpacked (0,0): 00 00 00 00 obtained
                  00 ff 00 00 expected

Final results:

30/72 mesa:format / u_format_test                   FAIL           0.17s (exit status 1)
44/72 mesa:compiler+glcpp / glcpp test (unix)       FAIL           2.31s (exit status 1)
45/72 mesa:compiler+glcpp / glcpp test (windows)    FAIL           2.61s (exit status 1)
46/72 mesa:compiler+glcpp / glcpp test (oldmac)     FAIL           2.65s (exit status 1)
47/72 mesa:compiler+glcpp / glcpp test (bizarro)    FAIL           2.61s (exit status 1)
55/72 mesa:mesa / main-test                         FAIL           0.09s (exit status 1)
61/72 mesa:llvmpipe / lp_test_format                FAIL           6.39s (exit status 1)
62/72 mesa:llvmpipe / lp_test_arit                  FAIL           1.35s (exit status 1)

Linux kernel shows >1.00 for getloadavg() on idle system

I've noticed that "w" and other system monitoring tools return 1.00 or higher for the load average, even when my Quad G5 is idle. I wonder how this value is getting incorrectly calculated when vmstat and top are showing the correct percentages for CPU usage in the different modes.

I suspect the tickless idle is broken? Relevant section of my kernel .config:

#
# Timers subsystem
#
CONFIG_TICK_ONESHOT=y
CONFIG_NO_HZ_COMMON=y
# CONFIG_HZ_PERIODIC is not set
CONFIG_NO_HZ_IDLE=y
# CONFIG_NO_HZ_FULL is not set
# CONFIG_NO_HZ is not set
CONFIG_HIGH_RES_TIMERS=y
# end of Timers subsystem

CONFIG_PREEMPT_NONE=y
# CONFIG_PREEMPT_VOLUNTARY is not set
# CONFIG_PREEMPT is not set

I'm going to try enabling voluntary preemption and disabling the NO_HZ_IDLE.

net-libs/nodejs (14.14.0) dumps core on node_mksnapshot

I'm currently trying to figure out why I can't emerge Node.js on my G5. I'm pretty sure the code generator recognizes that I have Altivec but is generating instructions that my G5 can't execute. Here's the crash I'm seeing.

LD_LIBRARY_PATH=/var/tmp/portage/net-libs/nodejs-14.14.0/work/node-v14.14.0/out/Release/lib.host:/var/tmp/portage/net-libs/nodejs-14.14.0/work/node-v14.14.0/out/Release/lib.target:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH; cd ../.; mkdir -p /var/tmp/portage/net-libs/nodejs-14.14.0/work/node-v14.14.0/out/Release/obj/gen; "/var/tmp/portage/net-libs/nodejs-14.14.0/work/node-v14.14.0/out/Release/node_mksnapshot" "/var/tmp/portage/net-libs/nodejs-14.14.0/work/node-v14.14.0/out/Release/obj/gen/node_snapshot.cc"
/bin/sh: line 1: 21783 Segmentation fault (core dumped) "/var/tmp/portage/net-libs/nodejs-14.14.0/work/node-v14.14.0/out/Release/node_mksnapshot" "/var/tmp/portage/net-libs/nodejs-14.14.0/work/node-v14.14.0/out/Release/obj/gen/node_snapshot.cc"
make: *** [node.target.mk:26: /var/tmp/portage/net-libs/nodejs-14.14.0/work/node-v14.14.0/out/Release/obj/gen/node_snapshot.cc] Error 139

The stack backtrace only goes up to where it executes the generated code.

I'll append to this bug once I have more idea what's going on. I need to fix this in order to build Firefox as well as Chromium.

media-libs/libvpx: test cases fail on byte-order issues

I need to fix the failing test cases for libvpx because I suspect libwebp has the same issue (swapped color palettes) but that package doesn't have test cases.

[----------] 1 test from ByteAlignmentTest
[ RUN ] ByteAlignmentTest.SwitchByteAlignment
/var/tmp/portage/media-libs/libvpx-1.9.0/work/libvpx-1.9.0/test/byte_alignment_test.cc:165: Failure
Expected equality of these values:
VPX_CODEC_OK
Which is: 0
DecodeOneFrame(byte_alignments[i])
Which is: 7
[ FAILED ] ByteAlignmentTest.SwitchByteAlignment (1023 ms)
[----------] 1 test from ByteAlignmentTest (1023 ms total)

[----------] 1 test from Alignments/ByteAlignmentTest
[ RUN ] Alignments/ByteAlignmentTest.TestAlignment/5
/var/tmp/portage/media-libs/libvpx-1.9.0/work/libvpx-1.9.0/test/byte_alignment_test.cc:175: Failure
Expected equality of these values:
VPX_CODEC_OK
Which is: 0
DecodeRemainingFrames(t.byte_alignment)
Which is: 7
[ FAILED ] Alignments/ByteAlignmentTest.TestAlignment/5, where GetParam() = 12-byte object <00-00 02-00 00-00 00-00 01-00 00-00> (997 ms)
[----------] 1 test from Alignments/ByteAlignmentTest (997 ms total)

/var/tmp/portage/media-libs/libvpx-1.9.0/work/libvpx-1.9.0/test/decode_test_driver.h:136: Failure
Expected equality of these values:
VPX_CODEC_OK
Which is: 0
res_dec
Which is: 7
Failed to decode tile data
[ FAILED ] VP9/ExternalFrameBufferMD5Test.ExtFBMD5Match/148, where GetParam() = (0x134d196f8, 0x134c55910 pointing to "vp90-2-03-size-196x226.webm") (41 ms)
[ RUN ] VP9/ExternalFrameBufferMD5Test.ExtFBMD5Match/158
/var/tmp/portage/media-libs/libvpx-1.9.0/work/libvpx-1.9.0/test/decode_test_driver.h:136: Failure
Expected equality of these values:
VPX_CODEC_OK
Which is: 0
res_dec
Which is: 7
Failed to decode tile data
[ FAILED ] VP9/ExternalFrameBufferMD5Test.ExtFBMD5Match/158, where GetParam() = (0x134d196f8, 0x134c55a50 pointing to "vp90-2-03-size-200x198.webm") (37 ms)

[ RUN ] VP9/ExternalFrameBufferMD5Test.ExtFBMD5Match/248
/var/tmp/portage/media-libs/libvpx-1.9.0/work/libvpx-1.9.0/test/decode_test_driver.h:136: Failure
Expected equality of these values:
VPX_CODEC_OK
Which is: 0
res_dec
Which is: 7
Failed to decode tile data
[ FAILED ] VP9/ExternalFrameBufferMD5Test.ExtFBMD5Match/248, where GetParam() = (0x134d196f8, 0x134c56610 pointing to "vp90-2-14-resize-fp-tiles-4-8.webm") (1788 ms)

[ RUN ] VP9/ExternalFrameBufferMD5Test.ExtFBMD5Match/278
/var/tmp/portage/media-libs/libvpx-1.9.0/work/libvpx-1.9.0/test/external_frame_buffer_test.cc:251: Failure
Expected equality of these values:
expected_md5
Which is: "c3964ed9065de7f839b8d878444c6140"
actual_md5
Which is: "8d76ae5afdb9c8d36982e2d4237da9f9"
Md5 checksums don't match: frame number = 0
/var/tmp/portage/media-libs/libvpx-1.9.0/work/libvpx-1.9.0/test/external_frame_buffer_test.cc:416: Failure
Expected: RunLoop(video.get()) doesn't generate new fatal failures in the current thread.
Actual: it does.
[ FAILED ] VP9/ExternalFrameBufferMD5Test.ExtFBMD5Match/278, where GetParam() = (0x134d196f8, 0x134c56aa0 pointing to "vp92-2-20-10bit-yuv420.webm") (3 ms)

[ RUN ] VP9/ExternalFrameBufferMD5Test.ExtFBMD5Match/298
/var/tmp/portage/media-libs/libvpx-1.9.0/work/libvpx-1.9.0/test/decode_test_driver.h:136: Failure
Expected equality of these values:
VPX_CODEC_OK
Which is: 0
res_dec
Which is: 5
Invalid frame marker
[ FAILED ] VP9/ExternalFrameBufferMD5Test.ExtFBMD5Match/298, where GetParam() = (0x134d196f8, 0x134c543a0 pointing to "vp90-2-21-resize_inter_640x360_5_3-4.webm") (97 ms)

…and more failures of a similar nature. I'm guessing these are all byte order issues?

dev-libs/nss: default build uses unavailable VSX functions

The current version of "nss", used by Firefox and many others, generates some assembly code that requires POWER8 or newer CPUs (version 2.07 of Power ISA). The failure is an illegal instruction crash (SIGILL) when attempting to decode AES.

I've pushed a patched ebuild for this issue to my repo that adds "export NSS_DISABLE_ALTIVEC=1" if "cpu_flags_ppc_vsx2" is not set. Gentoo users on POWER8 or newer should be setting CPU_FLAGS_PPC to include "altivec", "vsx", and "vsx2" ("vsx3" is for POWER9).

More info here: https://gentoo.org/support/news-items/2019-09-11-cpu_flags_ppc-introduction.html

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.