>>> mesa3d 21.1.5 Downloading wget --passive-ftp -nd -t 3 --no-check-certificate -O '/tmp/instance-0/output-1/build/.mesa-21.1.5.tar.xz.eoGYjU/output' 'https://archive.mesa3d.org/mesa-21.1.5.tar.xz' --2021-07-30 14:51:38-- https://archive.mesa3d.org/mesa-21.1.5.tar.xz Resolving archive.mesa3d.org (archive.mesa3d.org)... 2610:10:20:722:a800:ff:feda:470f, 131.252.210.176 Connecting to archive.mesa3d.org (archive.mesa3d.org)|2610:10:20:722:a800:ff:feda:470f|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 15286704 (15M) [application/x-xz] Saving to: '/tmp/instance-0/output-1/build/.mesa-21.1.5.tar.xz.eoGYjU/output' 0K .......... .......... .......... .......... .......... 0% 177K 84s 50K .......... .......... .......... .......... .......... 0% 353K 63s 100K .......... .......... .......... .......... .......... 1% 269M 42s 150K .......... .......... .......... .......... .......... 1% 1.17M 34s 200K .......... .......... .......... .......... .......... 1% 470K 34s 250K .......... .......... .......... .......... .......... 2% 223M 28s 300K .......... .......... .......... .......... .......... 2% 232M 24s 350K .......... .......... .......... .......... .......... 2% 251M 21s 400K .......... .......... .......... .......... .......... 3% 379K 23s 450K .......... .......... .......... .......... .......... 3% 124M 20s 500K .......... .......... .......... .......... .......... 3% 112M 18s 550K .......... .......... .......... .......... .......... 4% 103M 17s 600K .......... .......... .......... .......... .......... 4% 93.3M 16s 650K .......... .......... .......... .......... .......... 4% 108M 14s 700K .......... .......... .......... .......... .......... 5% 8.06M 13s 750K .......... .......... .......... .......... .......... 5% 208M 13s 800K .......... .......... .......... .......... .......... 5% 1.42M 12s 850K .......... .......... .......... .......... .......... 6% 513K 13s 900K .......... .......... .......... .......... .......... 6% 121M 12s 950K .......... .......... .......... .......... .......... 6% 122M 12s 1000K .......... .......... .......... .......... .......... 7% 108M 11s 1050K .......... .......... .......... .......... .......... 7% 124M 11s 1100K .......... .......... .......... .......... .......... 7% 96.0M 10s 1150K .......... .......... .......... .......... .......... 8% 149M 10s 1200K .......... .......... .......... .......... .......... 8% 65.0M 9s 1250K .......... .......... .......... .......... .......... 8% 181M 9s 1300K .......... .......... .......... .......... .......... 9% 116M 9s 1350K .......... .......... .......... .......... .......... 9% 117M 8s 1400K .......... .......... .......... .......... .......... 9% 11.3M 8s 1450K .......... .......... .......... .......... .......... 10% 122M 8s 1500K .......... .......... .......... .......... .......... 10% 109M 7s 1550K .......... .......... .......... .......... .......... 10% 119M 7s 1600K .......... .......... .......... .......... .......... 11% 1.48M 7s 1650K .......... .......... .......... .......... .......... 11% 106M 7s 1700K .......... .......... .......... .......... .......... 11% 111M 7s 1750K .......... .......... .......... .......... .......... 12% 515K 7s 1800K .......... .......... .......... .......... .......... 12% 89.8M 7s 1850K .......... .......... .......... .......... .......... 12% 77.9M 7s 1900K .......... .......... .......... .......... .......... 13% 330M 7s 1950K .......... .......... .......... .......... .......... 13% 113M 6s 2000K .......... .......... .......... .......... .......... 13% 85.3M 6s 2050K .......... .......... .......... .......... .......... 14% 123M 6s 2100K .......... .......... .......... .......... .......... 14% 109M 6s 2150K .......... .......... .......... .......... .......... 14% 139M 6s 2200K .......... .......... .......... .......... .......... 15% 107M 6s 2250K .......... .......... .......... .......... .......... 15% 105M 5s 2300K .......... .......... .......... .......... .......... 15% 117M 5s 2350K .......... .......... .......... .......... .......... 16% 99.1M 5s 2400K .......... .......... .......... .......... .......... 16% 83.9M 5s 2450K .......... .......... .......... .......... .......... 16% 133M 5s 2500K .......... .......... .......... .......... .......... 17% 140M 5s 2550K .......... .......... .......... .......... .......... 17% 100M 5s 2600K .......... .......... .......... .......... .......... 17% 132M 5s 2650K .......... .......... .......... .......... .......... 18% 110M 5s 2700K .......... .......... .......... .......... .......... 18% 111M 4s 2750K .......... .......... .......... .......... .......... 18% 129M 4s 2800K .......... .......... .......... .......... .......... 19% 82.3M 4s 2850K .......... .......... .......... .......... .......... 19% 122M 4s 2900K .......... .......... .......... .......... .......... 19% 118M 4s 2950K .......... .......... .......... .......... .......... 20% 90.1M 4s 3000K .......... .......... .......... .......... .......... 20% 83.5M 4s 3050K .......... .......... .......... .......... .......... 20% 271M 4s 3100K .......... .......... .......... .......... .......... 21% 60.0M 4s 3150K .......... .......... .......... .......... .......... 21% 436M 4s 3200K .......... .......... .......... .......... .......... 21% 93.9M 4s 3250K .......... .......... .......... .......... .......... 22% 135M 4s 3300K .......... .......... .......... .......... .......... 22% 1.65M 4s 3350K .......... .......... .......... .......... .......... 22% 108M 3s 3400K .......... .......... .......... .......... .......... 23% 65.6M 3s 3450K .......... .......... .......... .......... .......... 23% 385M 3s 3500K .......... .......... .......... .......... .......... 23% 520K 4s 3550K .......... .......... .......... .......... .......... 24% 85.5M 4s 3600K .......... .......... .......... .......... .......... 24% 86.4M 3s 3650K .......... .......... .......... .......... .......... 24% 107M 3s 3700K .......... .......... .......... .......... .......... 25% 143M 3s 3750K .......... .......... .......... .......... .......... 25% 120M 3s 3800K .......... .......... .......... .......... .......... 25% 59.0M 3s 3850K .......... .......... .......... .......... .......... 26% 336M 3s 3900K .......... .......... .......... .......... .......... 26% 138M 3s 3950K .......... .......... .......... .......... .......... 26% 102M 3s 4000K .......... .......... .......... .......... .......... 27% 90.4M 3s 4050K .......... .......... .......... .......... .......... 27% 114M 3s 4100K .......... .......... .......... .......... .......... 27% 119M 3s 4150K .......... .......... .......... .......... .......... 28% 96.4M 3s 4200K .......... .......... .......... .......... .......... 28% 74.4M 3s 4250K .......... .......... .......... .......... .......... 28% 123M 3s 4300K .......... .......... .......... .......... .......... 29% 210M 3s 4350K .......... .......... .......... .......... .......... 29% 140M 3s 4400K .......... .......... .......... .......... .......... 29% 74.2M 3s 4450K .......... .......... .......... .......... .......... 30% 161M 3s 4500K .......... .......... .......... .......... .......... 30% 126M 3s 4550K .......... .......... .......... .......... .......... 30% 87.8M 3s 4600K .......... .......... .......... .......... .......... 31% 130M 3s 4650K .......... .......... .......... .......... .......... 31% 124M 2s 4700K .......... .......... .......... .......... .......... 31% 113M 2s 4750K .......... .......... .......... .......... .......... 32% 112M 2s 4800K .......... .......... .......... .......... .......... 32% 87.5M 2s 4850K .......... .......... .......... .......... .......... 32% 99.9M 2s 4900K .......... .......... .......... .......... .......... 33% 161M 2s 4950K .......... .......... .......... .......... .......... 33% 93.9M 2s 5000K .......... .......... .......... .......... .......... 33% 112M 2s 5050K .......... .......... .......... .......... .......... 34% 101M 2s 5100K .......... .......... .......... .......... .......... 34% 115M 2s 5150K .......... .......... .......... .......... .......... 34% 131M 2s 5200K .......... .......... .......... .......... .......... 35% 97.2M 2s 5250K .......... .......... .......... .......... .......... 35% 62.3M 2s 5300K .......... .......... .......... .......... .......... 35% 392M 2s 5350K .......... .......... .......... .......... .......... 36% 126M 2s 5400K .......... .......... .......... .......... .......... 36% 129M 2s 5450K .......... .......... .......... .......... .......... 36% 114M 2s 5500K .......... .......... .......... .......... .......... 37% 78.9M 2s 5550K .......... .......... .......... .......... .......... 37% 178M 2s 5600K .......... .......... .......... .......... .......... 37% 89.3M 2s 5650K .......... .......... .......... .......... .......... 38% 137M 2s 5700K .......... .......... .......... .......... .......... 38% 96.5M 2s 5750K .......... .......... .......... .......... .......... 38% 66.4M 2s 5800K .......... .......... .......... .......... .......... 39% 272M 2s 5850K .......... .......... .......... .......... .......... 39% 159M 2s 5900K .......... .......... .......... .......... .......... 39% 94.2M 2s 5950K .......... .......... .......... .......... .......... 40% 117M 2s 6000K .......... .......... .......... .......... .......... 40% 84.9M 2s 6050K .......... .......... .......... .......... .......... 40% 129M 2s 6100K .......... .......... .......... .......... .......... 41% 109M 2s 6150K .......... .......... .......... .......... .......... 41% 127M 2s 6200K .......... .......... .......... .......... .......... 41% 131M 2s 6250K .......... .......... .......... .......... .......... 42% 87.4M 2s 6300K .......... .......... .......... .......... .......... 42% 151M 2s 6350K .......... .......... .......... .......... .......... 42% 2.65M 2s 6400K .......... .......... .......... .......... .......... 43% 53.9M 2s 6450K .......... .......... .......... .......... .......... 43% 93.3M 2s 6500K .......... .......... .......... .......... .......... 43% 1.07M 2s 6550K .......... .......... .......... .......... .......... 44% 991K 2s 6600K .......... .......... .......... .......... .......... 44% 10.7M 2s 6650K .......... .......... .......... .......... .......... 44% 138M 2s 6700K .......... .......... .......... .......... .......... 45% 109M 2s 6750K .......... .......... .......... .......... .......... 45% 106M 2s 6800K .......... .......... .......... .......... .......... 45% 100M 2s 6850K .......... .......... .......... .......... .......... 46% 115M 1s 6900K .......... .......... .......... .......... .......... 46% 118M 1s 6950K .......... .......... .......... .......... .......... 46% 99.9M 1s 7000K .......... .......... .......... .......... .......... 47% 122M 1s 7050K .......... .......... .......... .......... .......... 47% 115M 1s 7100K .......... .......... .......... .......... .......... 47% 86.3M 1s 7150K .......... .......... .......... .......... .......... 48% 134M 1s 7200K .......... .......... .......... .......... .......... 48% 73.0M 1s 7250K .......... .......... .......... .......... .......... 48% 218M 1s 7300K .......... .......... .......... .......... .......... 49% 113M 1s 7350K .......... .......... .......... .......... .......... 49% 119M 1s 7400K .......... .......... .......... .......... .......... 49% 102M 1s 7450K .......... .......... .......... .......... .......... 50% 114M 1s 7500K .......... .......... .......... .......... .......... 50% 123M 1s 7550K .......... .......... .......... .......... .......... 50% 116M 1s 7600K .......... .......... .......... .......... .......... 51% 86.1M 1s 7650K .......... .......... .......... .......... .......... 51% 123M 1s 7700K .......... .......... .......... .......... .......... 51% 99.0M 1s 7750K .......... .......... .......... .......... .......... 52% 95.6M 1s 7800K .......... .......... .......... .......... .......... 52% 153M 1s 7850K .......... .......... .......... .......... .......... 52% 74.9M 1s 7900K .......... .......... .......... .......... .......... 53% 264M 1s 7950K .......... .......... .......... .......... .......... 53% 115M 1s 8000K .......... .......... .......... .......... .......... 53% 93.1M 1s 8050K .......... .......... .......... .......... .......... 54% 105M 1s 8100K .......... .......... .......... .......... .......... 54% 77.7M 1s 8150K .......... .......... .......... .......... .......... 54% 210M 1s 8200K .......... .......... .......... .......... .......... 55% 104M 1s 8250K .......... .......... .......... .......... .......... 55% 112M 1s 8300K .......... .......... .......... .......... .......... 55% 125M 1s 8350K .......... .......... .......... .......... .......... 56% 105M 1s 8400K .......... .......... .......... .......... .......... 56% 83.0M 1s 8450K .......... .......... .......... .......... .......... 56% 135M 1s 8500K .......... .......... .......... .......... .......... 57% 117M 1s 8550K .......... .......... .......... .......... .......... 57% 115M 1s 8600K .......... .......... .......... .......... .......... 57% 117M 1s 8650K .......... .......... .......... .......... .......... 58% 99.8M 1s 8700K .......... .......... .......... .......... .......... 58% 137M 1s 8750K .......... .......... .......... .......... .......... 58% 41.1M 1s 8800K .......... .......... .......... .......... .......... 59% 321M 1s 8850K .......... .......... .......... .......... .......... 59% 70.7M 1s 8900K .......... .......... .......... .......... .......... 59% 437M 1s 8950K .......... .......... .......... .......... .......... 60% 249M 1s 9000K .......... .......... .......... .......... .......... 60% 58.7M 1s 9050K .......... .......... .......... .......... .......... 60% 66.1M 1s 9100K .......... .......... .......... .......... .......... 61% 420M 1s 9150K .......... .......... .......... .......... .......... 61% 67.0M 1s 9200K .......... .......... .......... .......... .......... 61% 365M 1s 9250K .......... .......... .......... .......... .......... 62% 72.0M 1s 9300K .......... .......... .......... .......... .......... 62% 410M 1s 9350K .......... .......... .......... .......... .......... 62% 112M 1s 9400K .......... .......... .......... .......... .......... 63% 3.29M 1s 9450K .......... .......... .......... .......... .......... 63% 43.6M 1s 9500K .......... .......... .......... .......... .......... 63% 407M 1s 9550K .......... .......... .......... .......... .......... 64% 267M 1s 9600K .......... .......... .......... .......... .......... 64% 522K 1s 9650K .......... .......... .......... .......... .......... 64% 9.26M 1s 9700K .......... .......... .......... .......... .......... 65% 259M 1s 9750K .......... .......... .......... .......... .......... 65% 74.6M 1s 9800K .......... .......... .......... .......... .......... 65% 231M 1s 9850K .......... .......... .......... .......... .......... 66% 70.2M 1s 9900K .......... .......... .......... .......... .......... 66% 192M 1s 9950K .......... .......... .......... .......... .......... 66% 51.1M 1s 10000K .......... .......... .......... .......... .......... 67% 198M 1s 10050K .......... .......... .......... .......... .......... 67% 74.3M 1s 10100K .......... .......... .......... .......... .......... 67% 237M 1s 10150K .......... .......... .......... .......... .......... 68% 74.6M 1s 10200K .......... .......... .......... .......... .......... 68% 201M 1s 10250K .......... .......... .......... .......... .......... 68% 243M 1s 10300K .......... .......... .......... .......... .......... 69% 13.5M 1s 10350K .......... .......... .......... .......... .......... 69% 235M 1s 10400K .......... .......... .......... .......... .......... 70% 69.6M 1s 10450K .......... .......... .......... .......... .......... 70% 72.1M 1s 10500K .......... .......... .......... .......... .......... 70% 218M 1s 10550K .......... .......... .......... .......... .......... 71% 79.7M 1s 10600K .......... .......... .......... .......... .......... 71% 221M 1s 10650K .......... .......... .......... .......... .......... 71% 73.4M 1s 10700K .......... .......... .......... .......... .......... 72% 255M 1s 10750K .......... .......... .......... .......... .......... 72% 74.5M 1s 10800K .......... .......... .......... .......... .......... 72% 198M 1s 10850K .......... .......... .......... .......... .......... 73% 72.3M 1s 10900K .......... .......... .......... .......... .......... 73% 230M 1s 10950K .......... .......... .......... .......... .......... 73% 76.7M 1s 11000K .......... .......... .......... .......... .......... 74% 217M 1s 11050K .......... .......... .......... .......... .......... 74% 74.1M 0s 11100K .......... .......... .......... .......... .......... 74% 255M 0s 11150K .......... .......... .......... .......... .......... 75% 75.8M 0s 11200K .......... .......... .......... .......... .......... 75% 238M 0s 11250K .......... .......... .......... .......... .......... 75% 70.9M 0s 11300K .......... .......... .......... .......... .......... 76% 246M 0s 11350K .......... .......... .......... .......... .......... 76% 79.9M 0s 11400K .......... .......... .......... .......... .......... 76% 238M 0s 11450K .......... .......... .......... .......... .......... 77% 73.2M 0s 11500K .......... .......... .......... .......... .......... 77% 257M 0s 11550K .......... .......... .......... .......... .......... 77% 72.1M 0s 11600K .......... .......... .......... .......... .......... 78% 236M 0s 11650K .......... .......... .......... .......... .......... 78% 73.1M 0s 11700K .......... .......... .......... .......... .......... 78% 254M 0s 11750K .......... .......... .......... .......... .......... 79% 73.2M 0s 11800K .......... .......... .......... .......... .......... 79% 221M 0s 11850K .......... .......... .......... .......... .......... 79% 75.3M 0s 11900K .......... .......... .......... .......... .......... 80% 253M 0s 11950K .......... .......... .......... .......... .......... 80% 72.5M 0s 12000K .......... .......... .......... .......... .......... 80% 70.3M 0s 12050K .......... .......... .......... .......... .......... 81% 228M 0s 12100K .......... .......... .......... .......... .......... 81% 76.6M 0s 12150K .......... .......... .......... .......... .......... 81% 239M 0s 12200K .......... .......... .......... .......... .......... 82% 72.4M 0s 12250K .......... .......... .......... .......... .......... 82% 220M 0s 12300K .......... .......... .......... .......... .......... 82% 76.6M 0s 12350K .......... .......... .......... .......... .......... 83% 237M 0s 12400K .......... .......... .......... .......... .......... 83% 4.41M 0s 12450K .......... .......... .......... .......... .......... 83% 28.2M 0s 12500K .......... .......... .......... .......... .......... 84% 481K 0s 12550K .......... .......... .......... .......... .......... 84% 189M 0s 12600K .......... .......... .......... .......... .......... 84% 183M 0s 12650K .......... .......... .......... .......... .......... 85% 182M 0s 12700K .......... .......... .......... .......... .......... 85% 201M 0s 12750K .......... .......... .......... .......... .......... 85% 141M 0s 12800K .......... .......... .......... .......... .......... 86% 90.5M 0s 12850K .......... .......... .......... .......... .......... 86% 114M 0s 12900K .......... .......... .......... .......... .......... 86% 115M 0s 12950K .......... .......... .......... .......... .......... 87% 110M 0s 13000K .......... .......... .......... .......... .......... 87% 112M 0s 13050K .......... .......... .......... .......... .......... 87% 97.3M 0s 13100K .......... .......... .......... .......... .......... 88% 68.7M 0s 13150K .......... .......... .......... .......... .......... 88% 178M 0s 13200K .......... .......... .......... .......... .......... 88% 61.9M 0s 13250K .......... .......... .......... .......... .......... 89% 147M 0s 13300K .......... .......... .......... .......... .......... 89% 101M 0s 13350K .......... .......... .......... .......... .......... 89% 108M 0s 13400K .......... .......... .......... .......... .......... 90% 70.8M 0s 13450K .......... .......... .......... .......... .......... 90% 124M 0s 13500K .......... .......... .......... .......... .......... 90% 125M 0s 13550K .......... .......... .......... .......... .......... 91% 89.4M 0s 13600K .......... .......... .......... .......... .......... 91% 96.8M 0s 13650K .......... .......... .......... .......... .......... 91% 101M 0s 13700K .......... .......... .......... .......... .......... 92% 154M 0s 13750K .......... .......... .......... .......... .......... 92% 125M 0s 13800K .......... .......... .......... .......... .......... 92% 109M 0s 13850K .......... .......... .......... .......... .......... 93% 104M 0s 13900K .......... .......... .......... .......... .......... 93% 88.7M 0s 13950K .......... .......... .......... .......... .......... 93% 90.1M 0s 14000K .......... .......... .......... .......... .......... 94% 119M 0s 14050K .......... .......... .......... .......... .......... 94% 166M 0s 14100K .......... .......... .......... .......... .......... 94% 128M 0s 14150K .......... .......... .......... .......... .......... 95% 101M 0s 14200K .......... .......... .......... .......... .......... 95% 111M 0s 14250K .......... .......... .......... .......... .......... 95% 19.0M 0s 14300K .......... .......... .......... .......... .......... 96% 122M 0s 14350K .......... .......... .......... .......... .......... 96% 126M 0s 14400K .......... .......... .......... .......... .......... 96% 92.1M 0s 14450K .......... .......... .......... .......... .......... 97% 100M 0s 14500K .......... .......... .......... .......... .......... 97% 124M 0s 14550K .......... .......... .......... .......... .......... 97% 124M 0s 14600K .......... .......... .......... .......... .......... 98% 118M 0s 14650K .......... .......... .......... .......... .......... 98% 112M 0s 14700K .......... .......... .......... .......... .......... 98% 119M 0s 14750K .......... .......... .......... .......... .......... 99% 109M 0s 14800K .......... .......... .......... .......... .......... 99% 87.2M 0s 14850K .......... .......... .......... .......... .......... 99% 117M 0s 14900K .......... .......... ........ 100% 154M=1.6s 2021-07-30 14:51:40 (9.23 MB/s) - '/tmp/instance-0/output-1/build/.mesa-21.1.5.tar.xz.eoGYjU/output' saved [15286704/15286704] mesa-21.1.5.tar.xz: OK (sha256: 022c7293074aeeced2278c872db4fa693147c70f8595b076cf3f1ef81520766d) mesa-21.1.5.tar.xz: OK (sha512: d9e0e1b6a1d717febee2aa67b06620c9a21e061ea7e594be5b4c382db1ed6f5acf5d13a75a9f2bba9c32621466ebc816708606e16e8b34700d987158fd8f0b7b) >>> mesa3d 21.1.5 Extracting xzcat /tmp/instance-0/dl/mesa3d/mesa-21.1.5.tar.xz | tar --strip-components=1 -C /tmp/instance-0/output-1/build/mesa3d-21.1.5 -xf - >>> mesa3d 21.1.5 Patching Applying 0001-c99_math-import-isinf-for-uclibc-based-toolchains.patch using patch: patching file include/c99_math.h Applying 0002-meson-Set-proper-value-for-LIBCLC_INCLUDEDIR.patch using patch: patching file src/gallium/frontends/clover/meson.build Applying 0003-vc4-add-meson-option-to-disable-optional-neon-suppor.patch using patch: patching file meson_options.txt patching file src/gallium/drivers/vc4/meson.build patching file src/gallium/drivers/vc4/vc4_tiling.h Applying 0004-src-util-rand_xor-Include-stddef.h-to-fix-build-erro.patch using patch: patching file src/util/rand_xor.c >>> mesa3d 21.1.5 Configuring rm -rf /tmp/instance-0/output-1/build/mesa3d-21.1.5//build mkdir -p /tmp/instance-0/output-1/build/mesa3d-21.1.5//build sed -e 's%@TARGET_CROSS@%/tmp/instance-0/output-1/host/bin/riscv32-linux-%g' -e 's%@TARGET_ARCH@%riscv64%g' -e 's%@TARGET_CPU@%%g' -e 's%@TARGET_ENDIAN@%little%g' -e "s%@TARGET_CFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1'%g" -e "s%@TARGET_LDFLAGS@%%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1'%g" -e 's%@HOST_DIR@%/tmp/instance-0/output-1/host%g' -e 's%@STAGING_DIR@%/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot%g' -e 's%@STATIC@%false%g' -e "/^\[binaries\]$/s:$::" -e "/^\[properties\]$/s:$::" package/meson/cross-compilation.conf.in > /tmp/instance-0/output-1/build/mesa3d-21.1.5//build/cross-compilation.conf PATH="/tmp/instance-0/output-1/host/bin:/tmp/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" CC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" PYTHONNOUSERSITE=y /tmp/instance-0/output-1/host/bin/meson --prefix=/usr --libdir=lib --default-library=shared --buildtype=release --cross-file=/tmp/instance-0/output-1/build/mesa3d-21.1.5//build/cross-compilation.conf -Db_pie=false -Dstrip=false -Dbuild.pkg_config_path=/tmp/instance-0/output-1/host/lib/pkgconfig -Dgallium-omx=disabled -Dpower8=disabled -Dllvm=disabled -Dgallium-opencl=disabled -Dglx=disabled -Dgallium-xa=disabled -Dgallium-vc4-neon=disabled -Dshared-glapi=enabled -Dgallium-drivers=etnaviv,swrast -Dgallium-extra-hud=true -Ddri-drivers= -Ddri3=disabled -Dvulkan-drivers= -Dosmesa=false -Dopengl=true -Dgallium-va=disabled -Dplatforms= -Dgbm=enabled -Degl=enabled -Dgles1=disabled -Dgles2=disabled -Dgallium-xvmc=disabled -Dvalgrind=disabled -Dlibunwind=disabled -Dgallium-vdpau=disabled -Dlmsensors=disabled -Dzstd=disabled /tmp/instance-0/output-1/build/mesa3d-21.1.5/ /tmp/instance-0/output-1/build/mesa3d-21.1.5//build The Meson build system Version: 0.58.2 Source dir: /tmp/instance-0/output-1/build/mesa3d-21.1.5 Build dir: /tmp/instance-0/output-1/build/mesa3d-21.1.5/build Build type: cross build Program python found: YES (/tmp/instance-0/output-1/host/bin/python) Project name: mesa Project version: 21.1.5 C compiler for the host machine: /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc (gcc 10.2.0 "riscv32-linux-gcc.br_real (Buildroot 2020.08-14-ge5a2a90) 10.2.0") C linker for the host machine: /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc ld.bfd 2.34 C++ compiler for the host machine: /tmp/instance-0/output-1/host/bin/riscv32-linux-g++ (gcc 10.2.0 "riscv32-linux-g++.br_real (Buildroot 2020.08-14-ge5a2a90) 10.2.0") C++ linker for the host machine: /tmp/instance-0/output-1/host/bin/riscv32-linux-g++ ld.bfd 2.34 C compiler for the build machine: /usr/bin/gcc (gcc 9.3.0 "gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0") C linker for the build machine: /usr/bin/gcc ld.bfd 2.34 C++ compiler for the build machine: /usr/bin/g++ (gcc 9.3.0 "g++ (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0") C++ linker for the build machine: /usr/bin/g++ ld.bfd 2.34 Build machine cpu family: x86_64 Build machine cpu: x86_64 Host machine cpu family: riscv64 Host machine cpu: Target machine cpu family: riscv64 Target machine cpu: Found CMake: NO Run-time dependency clang found: NO (tried cmake) Program python3 found: YES (/tmp/instance-0/output-1/host/bin/python3) Fetching value of define "ETIME" : 62 Checking for function "bswap32" : YES Checking for function "bswap64" : YES Checking for function "clz" : YES Checking for function "clzll" : YES Checking for function "ctz" : YES Checking for function "expect" : YES Checking for function "ffs" : YES Checking for function "ffsll" : YES Checking for function "popcount" : YES Checking for function "popcountll" : YES Checking for function "unreachable" : YES Checking for function "types_compatible_p" : YES Compiler for C supports function attribute const: YES Compiler for C supports function attribute flatten: YES Compiler for C supports function attribute malloc: YES Compiler for C supports function attribute pure: YES Compiler for C supports function attribute unused: YES Compiler for C supports function attribute warn_unused_result: YES Compiler for C supports function attribute weak: YES Compiler for C supports function attribute format: YES Compiler for C supports function attribute packed: YES Compiler for C supports function attribute returns_nonnull: YES Compiler for C supports function attribute alias: YES Compiler for C supports function attribute noreturn: YES Compiler for C supports function attribute visibility:hidden: YES Checking if "__uint128_t" compiles: NO Compiler for C supports arguments -Werror=implicit-function-declaration: YES Compiler for C supports arguments -Werror=missing-prototypes: YES Compiler for C supports arguments -Werror=return-type: YES Compiler for C supports arguments -Werror=empty-body: YES Compiler for C supports arguments -Werror=incompatible-pointer-types: YES Compiler for C supports arguments -Werror=int-conversion: YES Compiler for C supports arguments -Wimplicit-fallthrough: YES Compiler for C supports arguments -Werror=thread-safety: NO Compiler for C supports arguments -Wno-missing-field-initializers: YES Compiler for C supports arguments -Wno-format-truncation: YES Compiler for C supports arguments -fno-math-errno: YES Compiler for C supports arguments -fno-trapping-math: YES Compiler for C supports arguments -Qunused-arguments: NO Compiler for C supports arguments -fno-common: YES Compiler for C supports arguments -Werror=format: YES Compiler for C supports arguments -Wformat-security: YES Compiler for C++ supports arguments -Werror=return-type: YES Compiler for C++ supports arguments -Werror=empty-body: YES Compiler for C++ supports arguments -Wno-non-virtual-dtor: YES Compiler for C++ supports arguments -Wno-missing-field-initializers: YES Compiler for C++ supports arguments -Wno-format-truncation: YES Compiler for C++ supports arguments -fno-math-errno: YES Compiler for C++ supports arguments -fno-trapping-math: YES Compiler for C++ supports arguments -Qunused-arguments: NO Compiler for C++ supports arguments -flifetime-dse=1: YES Compiler for C++ supports arguments -Werror=format: YES Compiler for C++ supports arguments -Wformat-security: YES Compiler for C supports arguments -Wno-override-init: YES Compiler for C supports arguments -Wno-initializer-overrides: NO Compiler for C supports arguments -Werror=pointer-arith: YES Compiler for C++ supports arguments -Werror=pointer-arith: YES Compiler for C supports arguments -Werror=gnu-empty-initializer: NO Compiler for C++ supports arguments -Werror=gnu-empty-initializer: NO Compiler for C supports arguments -Wmicrosoft-enum-value: NO Checking if "GCC atomic builtins" compiles: YES Checking if "GCC atomic builtins required -latomic" links: NO Library atomic found: YES Checking if "GCC 64bit atomics" with dependency -latomic links: NO Library ws2_32 found: NO Header has symbol "major" : YES Header has symbol "minor" : YES Header has symbol "makedev" : YES Header has symbol "major" : NO Check usable header "xlocale.h" : NO Check usable header "linux/futex.h" : YES Check usable header "endian.h" : YES Check usable header "dlfcn.h" : YES Check usable header "execinfo.h" : YES Check usable header "sys/shm.h" : YES Check usable header "cet.h" : NO Check usable header "pthread_np.h" : NO Checking for function "strtof" : YES Checking for function "mkostemp" : YES Checking for function "timespec_get" : YES Checking for function "memfd_create" : YES Checking for function "random_r" : YES Checking for function "flock" : YES Checking for function "strtok_r" : YES Checking for function "getrandom" : YES Header has symbol "program_invocation_name" : YES Checking for function "posix_memalign" : YES Checking whether type "struct dirent" has member "d_type" : YES Checking if "strtod has locale support" links: YES Checking if "Bsymbolic" links: YES Checking if "gc-sections" links: YES Checking if "version-script" links: YES Checking if "dynamic-list" links: YES Compiler for C supports link arguments -Wl,--build-id=sha1: YES Checking for function "dlopen" : NO Library dl found: YES Checking for function "dladdr" with dependency -ldl: YES Checking for function "dl_iterate_phdr" : YES Checking for function "clock_gettime" : YES Found pkg-config: /tmp/instance-0/output-1/host/bin/pkgconf (1.6.3) Run-time dependency zlib found: YES 1.2.11 Run-time dependency threads found: YES Checking for function "pthread_setaffinity_np" with dependency threads: YES Run-time dependency expat found: YES 2.4.1 Library m found: YES Run-time dependency libdrm found: YES 2.4.107 Program bison found: YES (/tmp/instance-0/output-1/host/bin/bison) Program bison found: YES 3.7.6 (/tmp/instance-0/output-1/host/bin/bison) Program flex found: YES (/tmp/instance-0/output-1/host/bin/flex) Compiler for C supports link arguments -Wl,--gc-sections: YES Compiler for C supports arguments -ffunction-sections: YES Compiler for C supports arguments -fdata-sections: YES Program nm found: YES (/usr/bin/nm) Program symbols-check.py found: YES (/usr/bin/env python /tmp/instance-0/output-1/build/mesa3d-21.1.5/bin/symbols-check.py) Program install_megadrivers.py found: YES (/tmp/instance-0/output-1/host/bin/python3 /tmp/instance-0/output-1/build/mesa3d-21.1.5/bin/install_megadrivers.py) Checking for function "mincore" : YES Program /tmp/instance-0/output-1/build/mesa3d-21.1.5/bin/install_megadrivers.py found: YES (/tmp/instance-0/output-1/host/bin/python3 /tmp/instance-0/output-1/build/mesa3d-21.1.5/bin/install_megadrivers.py) Message: Configuration summary: prefix: /usr libdir: lib includedir: include OpenGL: yes (ES1: no ES2: no) OSMesa: no DRI platform: drm DRI drivers: no DRI driver dir: /usr/lib/dri EGL: yes EGL drivers: builtin:egl_dri2 GBM: yes EGL/Vulkan/VL platforms: surfaceless drm Vulkan drivers: no llvm: no Gallium drivers: etnaviv swrast Gallium st: mesa HUD lmsensors: no Shared-glapi: yes Build targets in project: 106 Option buildtype is: release [default: debugoptimized] Found ninja-1.10.2 at /tmp/instance-0/output-1/host/bin/ninja >>> mesa3d 21.1.5 Building PATH="/tmp/instance-0/output-1/host/bin:/tmp/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" PYTHONNOUSERSITE=y /tmp/instance-0/output-1/host/bin/ninja -j96 -C /tmp/instance-0/output-1/build/mesa3d-21.1.5//build ninja: Entering directory `/tmp/instance-0/output-1/build/mesa3d-21.1.5//build' [1/990] Generating git_sha1.h with a custom command [2/990] Compiling C object src/util/libmesa_util.a.p/bitscan.c.o [3/990] Compiling C object src/util/libmesa_util.a.p/blob.c.o [4/990] Compiling C object src/util/libmesa_util.a.p/anon_file.c.o [5/990] Generating driconf_static.h with a custom command [6/990] Compiling C object src/util/libmesa_util.a.p/crc32.c.o [7/990] Compiling C object src/util/libmesa_util.a.p/dag.c.o [8/990] Compiling C object src/util/libmesa_util.a.p/build_id.c.o [9/990] Compiling C object src/util/libmesa_util.a.p/compress.c.o [10/990] Compiling C object src/util/libmesa_util.a.p/memstream.c.o [11/990] Compiling C object src/util/libmesa_util.a.p/half_float.c.o [12/990] Compiling C object src/util/libmesa_util.a.p/debug.c.o [13/990] Compiling C object src/util/libmesa_util.a.p/double.c.o [14/990] Compiling C object src/util/libmesa_util.a.p/fast_idiv_by_const.c.o [15/990] Compiling C object src/util/libmesa_util.a.p/u_idalloc.c.o [16/990] Compiling C object src/util/libmesa_util.a.p/mesa-sha1.c.o [17/990] Compiling C object src/util/libmesa_util.a.p/os_file.c.o [18/990] Compiling C object src/util/libmesa_util.a.p/log.c.o [19/990] Compiling C object src/util/libmesa_util.a.p/os_misc.c.o [20/990] Compiling C object src/util/libmesa_util.a.p/u_process.c.o [21/990] Compiling C object src/util/libmesa_util.a.p/os_time.c.o [22/990] Compiling C object src/util/libmesa_util.a.p/os_socket.c.o [23/990] Compiling C object src/util/libmesa_util.a.p/u_math.c.o [24/990] Compiling C object src/util/libmesa_util.a.p/rand_xor.c.o [25/990] Compiling C object src/util/libmesa_util.a.p/rb_tree.c.o [26/990] Compiling C object src/util/libmesa_util.a.p/slab.c.o [27/990] Compiling C object src/util/libmesa_util.a.p/string_buffer.c.o [28/990] Compiling C object src/util/libmesa_util.a.p/strtod.c.o [29/990] Compiling C object src/util/libmesa_util.a.p/u_vector.c.o [30/990] Compiling C object src/util/libmesa_util.a.p/u_mm.c.o [31/990] Compiling C object src/util/libmesa_util.a.p/u_debug_stack.c.o [32/990] Compiling C object src/util/libmesa_util.a.p/u_debug_symbol.c.o [33/990] Generating glcpp-lex.c with a custom command [34/990] Generating glsl_lexer_cpp with a custom command [35/990] Generating mesa_lex with a custom command [36/990] Compiling C object src/util/libmesa_util.a.p/disk_cache.c.o FAILED: src/util/libmesa_util.a.p/disk_cache.c.o /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc -Isrc/util/libmesa_util.a.p -Isrc/util -I../src/util -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.5"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -Werror=pointer-arith -MD -MQ src/util/libmesa_util.a.p/disk_cache.c.o -MF src/util/libmesa_util.a.p/disk_cache.c.o.d -o src/util/libmesa_util.a.p/disk_cache.c.o -c ../src/util/disk_cache.c In file included from ../src/util/u_queue.h:38, from ../src/util/disk_cache_os.h:27, from ../src/util/disk_cache.c:49: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [37/990] Compiling C object src/util/libmesa_util.a.p/disk_cache_os.c.o FAILED: src/util/libmesa_util.a.p/disk_cache_os.c.o /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc -Isrc/util/libmesa_util.a.p -Isrc/util -I../src/util -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.5"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -Werror=pointer-arith -MD -MQ src/util/libmesa_util.a.p/disk_cache_os.c.o -MF src/util/libmesa_util.a.p/disk_cache_os.c.o.d -o src/util/libmesa_util.a.p/disk_cache_os.c.o -c ../src/util/disk_cache_os.c In file included from ../src/util/u_queue.h:38, from ../src/util/disk_cache_os.h:27, from ../src/util/disk_cache_os.c:64: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [38/990] Compiling C object src/util/libmesa_util.a.p/fossilize_db.c.o FAILED: src/util/libmesa_util.a.p/fossilize_db.c.o /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc -Isrc/util/libmesa_util.a.p -Isrc/util -I../src/util -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.5"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -Werror=pointer-arith -MD -MQ src/util/libmesa_util.a.p/fossilize_db.c.o -MF src/util/libmesa_util.a.p/fossilize_db.c.o.d -o src/util/libmesa_util.a.p/fossilize_db.c.o -c ../src/util/fossilize_db.c In file included from ../src/util/simple_mtx.h:27, from ../src/util/fossilize_db.h:44, from ../src/util/fossilize_db.c:31: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in In file included from ../src/util/simple_mtx.h:27, from ../src/util/fossilize_db.h:44, from ../src/util/fossilize_db.c:31: ../src/util/futex.h:40:1: error: control reaches end of non-void function [-Werror=return-type] 40 | } | ^ cc1: some warnings being treated as errors [39/990] Compiling C object src/util/libmesa_util.a.p/hash_table.c.o [40/990] Compiling C object src/util/libmesa_util.a.p/sha1_sha1.c.o [41/990] Compiling C object src/util/libmesa_util.a.p/ralloc.c.o [42/990] Compiling C object src/util/libmesa_util.a.p/u_debug.c.o [43/990] Compiling C object src/util/libmesa_util.a.p/u_cpu_detect.c.o [44/990] Compiling C object src/util/libmesa_util.a.p/set.c.o [45/990] Compiling C object src/util/libmesa_util.a.p/sparse_array.c.o [46/990] Compiling C object src/util/libmesa_util.a.p/u_atomic.c.o ../src/util/u_atomic.c:38:1: warning: conflicting types for built-in function '__sync_add_and_fetch_8'; expected 'long long unsigned int(volatile void *, long long unsigned int)' [-Wbuiltin-declaration-mismatch] 38 | __sync_add_and_fetch_8(uint64_t *ptr, uint64_t val) | ^~~~~~~~~~~~~~~~~~~~~~ ../src/util/u_atomic.c:51:1: warning: conflicting types for built-in function '__sync_sub_and_fetch_8'; expected 'long long unsigned int(volatile void *, long long unsigned int)' [-Wbuiltin-declaration-mismatch] 51 | __sync_sub_and_fetch_8(uint64_t *ptr, uint64_t val) | ^~~~~~~~~~~~~~~~~~~~~~ ../src/util/u_atomic.c:64:1: warning: conflicting types for built-in function '__sync_val_compare_and_swap_8'; expected 'long long unsigned int(volatile void *, long long unsigned int, long long unsigned int)' [-Wbuiltin-declaration-mismatch] 64 | __sync_val_compare_and_swap_8(uint64_t *ptr, uint64_t oldval, uint64_t newval) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [47/990] Compiling C object src/util/libmesa_util.a.p/u_queue.c.o FAILED: src/util/libmesa_util.a.p/u_queue.c.o /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc -Isrc/util/libmesa_util.a.p -Isrc/util -I../src/util -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.5"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -Werror=pointer-arith -MD -MQ src/util/libmesa_util.a.p/u_queue.c.o -MF src/util/libmesa_util.a.p/u_queue.c.o.d -o src/util/libmesa_util.a.p/u_queue.c.o -c ../src/util/u_queue.c In file included from ../src/util/u_queue.h:38, from ../src/util/u_queue.c:27: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in In file included from ../src/util/u_queue.h:38, from ../src/util/u_queue.c:27: ../src/util/futex.h:40:1: error: control reaches end of non-void function [-Werror=return-type] 40 | } | ^ cc1: some warnings being treated as errors [48/990] Compiling C object src/util/libmesa_util.a.p/u_debug_memory.c.o [49/990] Compiling C object src/util/libmesa_util.a.p/vma.c.o [50/990] Generating spirv_info.c with a custom command [51/990] Generating vtn_generator_ids.h with a custom command [52/990] Generating vtn_gather_types.c with a custom command [53/990] Generating nir_intrinsics.h with a custom command [54/990] Generating nir_intrinsics_indices.h with a custom command [55/990] Generating nir_intrinsic.c with a custom command [56/990] Generating float64_glsl.h with a custom command [57/990] Generating format_fallback.c with a custom command [58/990] Compiling C object src/loader/libloader.a.p/pci_id_driver_map.c.o [59/990] Compiling C object src/gbm/libgbm.so.1.0.0.p/main_backend.c.o [60/990] Generating glcpp-parse.[ch] with a custom command [61/990] Compiling C object src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_device.c.o FAILED: src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_device.c.o /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc -Isrc/etnaviv/drm/libetnaviv_drm.a.p -Isrc/etnaviv/drm -I../src/etnaviv/drm -Isrc/etnaviv -I../src/etnaviv -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.5"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -Wno-override-init -MD -MQ src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_device.c.o -MF src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_device.c.o.d -o src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_device.c.o -c ../src/etnaviv/drm/etnaviv_device.c In file included from ../src/util/simple_mtx.h:27, from ../src/etnaviv/drm/etnaviv_priv.h:44, from ../src/etnaviv/drm/etnaviv_device.c:30: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in ../src/util/futex.h:40:1: error: control reaches end of non-void function [-Werror=return-type] 40 | } | ^ cc1: some warnings being treated as errors [62/990] Compiling C object src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_bo_cache.c.o FAILED: src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_bo_cache.c.o /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc -Isrc/etnaviv/drm/libetnaviv_drm.a.p -Isrc/etnaviv/drm -I../src/etnaviv/drm -Isrc/etnaviv -I../src/etnaviv -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.5"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -Wno-override-init -MD -MQ src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_bo_cache.c.o -MF src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_bo_cache.c.o.d -o src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_bo_cache.c.o -c ../src/etnaviv/drm/etnaviv_bo_cache.c In file included from ../src/util/simple_mtx.h:27, from ../src/etnaviv/drm/etnaviv_priv.h:44, from ../src/etnaviv/drm/etnaviv_bo_cache.c:27: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in In file included from ../src/util/simple_mtx.h:27, from ../src/etnaviv/drm/etnaviv_priv.h:44, from ../src/etnaviv/drm/etnaviv_bo_cache.c:27: ../src/util/futex.h:40:1: error: control reaches end of non-void function [-Werror=return-type] 40 | } | ^ cc1: some warnings being treated as errors [63/990] Compiling C object src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_cmd_stream.c.o FAILED: src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_cmd_stream.c.o /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc -Isrc/etnaviv/drm/libetnaviv_drm.a.p -Isrc/etnaviv/drm -I../src/etnaviv/drm -Isrc/etnaviv -I../src/etnaviv -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.5"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -Wno-override-init -MD -MQ src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_cmd_stream.c.o -MF src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_cmd_stream.c.o.d -o src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_cmd_stream.c.o -c ../src/etnaviv/drm/etnaviv_cmd_stream.c In file included from ../src/util/simple_mtx.h:27, from ../src/etnaviv/drm/etnaviv_priv.h:44, from ../src/etnaviv/drm/etnaviv_cmd_stream.c:31: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in In file included from ../src/util/simple_mtx.h:27, from ../src/etnaviv/drm/etnaviv_priv.h:44, from ../src/etnaviv/drm/etnaviv_cmd_stream.c:31: ../src/util/futex.h:40:1: error: control reaches end of non-void function [-Werror=return-type] 40 | } | ^ cc1: some warnings being treated as errors [64/990] Compiling C object src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_gpu.c.o FAILED: src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_gpu.c.o /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc -Isrc/etnaviv/drm/libetnaviv_drm.a.p -Isrc/etnaviv/drm -I../src/etnaviv/drm -Isrc/etnaviv -I../src/etnaviv -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.5"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -Wno-override-init -MD -MQ src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_gpu.c.o -MF src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_gpu.c.o.d -o src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_gpu.c.o -c ../src/etnaviv/drm/etnaviv_gpu.c In file included from ../src/util/simple_mtx.h:27, from ../src/etnaviv/drm/etnaviv_priv.h:44, from ../src/etnaviv/drm/etnaviv_gpu.c:27: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [65/990] Compiling C object src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_bo.c.o FAILED: src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_bo.c.o /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc -Isrc/etnaviv/drm/libetnaviv_drm.a.p -Isrc/etnaviv/drm -I../src/etnaviv/drm -Isrc/etnaviv -I../src/etnaviv -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.5"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -Wno-override-init -MD -MQ src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_bo.c.o -MF src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_bo.c.o.d -o src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_bo.c.o -c ../src/etnaviv/drm/etnaviv_bo.c In file included from ../src/util/simple_mtx.h:27, from ../src/etnaviv/drm/etnaviv_priv.h:44, from ../src/etnaviv/drm/etnaviv_bo.c:30: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in ../src/util/futex.h:40:1: error: control reaches end of non-void function [-Werror=return-type] 40 | } | ^ cc1: some warnings being treated as errors [66/990] Compiling C object src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_perfmon.c.o FAILED: src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_perfmon.c.o /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc -Isrc/etnaviv/drm/libetnaviv_drm.a.p -Isrc/etnaviv/drm -I../src/etnaviv/drm -Isrc/etnaviv -I../src/etnaviv -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.5"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -Wno-override-init -MD -MQ src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_perfmon.c.o -MF src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_perfmon.c.o.d -o src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_perfmon.c.o -c ../src/etnaviv/drm/etnaviv_perfmon.c In file included from ../src/util/simple_mtx.h:27, from ../src/etnaviv/drm/etnaviv_priv.h:44, from ../src/etnaviv/drm/etnaviv_perfmon.c:28: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [67/990] Compiling C object src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_pipe.c.o FAILED: src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_pipe.c.o /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc -Isrc/etnaviv/drm/libetnaviv_drm.a.p -Isrc/etnaviv/drm -I../src/etnaviv/drm -Isrc/etnaviv -I../src/etnaviv -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.5"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -Wno-override-init -MD -MQ src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_pipe.c.o -MF src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_pipe.c.o.d -o src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_pipe.c.o -c ../src/etnaviv/drm/etnaviv_pipe.c In file included from ../src/util/simple_mtx.h:27, from ../src/etnaviv/drm/etnaviv_priv.h:44, from ../src/etnaviv/drm/etnaviv_pipe.c:27: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [68/990] Compiling C object src/egl/libEGL.so.1.0.0.p/main_eglarray.c.o [69/990] Compiling C object src/egl/libEGL.so.1.0.0.p/main_eglglobals.c.o [70/990] Compiling C object src/egl/libEGL.so.1.0.0.p/main_egllog.c.o [71/990] Compiling C object src/egl/libEGL.so.1.0.0.p/main_eglcurrent.c.o [72/990] Compiling C object src/egl/libEGL.so.1.0.0.p/main_egldevice.c.o [73/990] Compiling C object src/util/libmesa_util.a.p/softfloat.c.o [74/990] Compiling C++ object src/util/libmesa_util.a.p/u_printf.cpp.o [75/990] Compiling C object src/egl/libEGL.so.1.0.0.p/main_eglsync.c.o [76/990] Compiling C object src/egl/libEGL.so.1.0.0.p/main_eglimage.c.o [77/990] Compiling C object src/mesa/drivers/dri/common/libmegadriver_stub.a.p/megadriver_stub.c.o [78/990] Compiling C object src/gbm/libgbm.so.1.0.0.p/main_gbm.c.o [79/990] Compiling C object src/util/libmesa_util.a.p/rgtc.c.o [80/990] Compiling C object src/egl/libEGL.so.1.0.0.p/main_eglcontext.c.o [81/990] Generating u_tracepoints.c with a custom command [82/990] Generating u_tracepoints.h with a custom command [83/990] Compiling C object src/egl/libEGL.so.1.0.0.p/drivers_dri2_platform_device.c.o [84/990] Compiling C object src/egl/libEGL.so.1.0.0.p/main_egldisplay.c.o [85/990] Compiling C object src/egl/libEGL.so.1.0.0.p/main_eglconfig.c.o [86/990] Compiling C object src/mesa/drivers/dri/common/libdricommon.a.p/dri_util.c.o FAILED: src/mesa/drivers/dri/common/libdricommon.a.p/dri_util.c.o /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/common/libdricommon.a.p -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/util -I../src/util -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.5"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/mesa/drivers/dri/common/libdricommon.a.p/dri_util.c.o -MF src/mesa/drivers/dri/common/libdricommon.a.p/dri_util.c.o.d -o src/mesa/drivers/dri/common/libdricommon.a.p/dri_util.c.o -c ../src/mesa/drivers/dri/common/dri_util.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/main/extensions.h:39, from ../src/mesa/main/context.h:54, from ../src/mesa/drivers/dri/common/utils.h:33, from ../src/mesa/drivers/dri/common/dri_util.c:44: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [87/990] Compiling C object src/loader/libloader.a.p/loader.c.o [88/990] Compiling C object src/egl/libEGL.so.1.0.0.p/drivers_dri2_platform_surfaceless.c.o [89/990] Compiling C object src/mesa/drivers/dri/common/libdricommon.a.p/utils.c.o FAILED: src/mesa/drivers/dri/common/libdricommon.a.p/utils.c.o /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/common/libdricommon.a.p -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/util -I../src/util -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.5"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/mesa/drivers/dri/common/libdricommon.a.p/utils.c.o -MF src/mesa/drivers/dri/common/libdricommon.a.p/utils.c.o.d -o src/mesa/drivers/dri/common/libdricommon.a.p/utils.c.o -c ../src/mesa/drivers/dri/common/utils.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/common/utils.c:38: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [90/990] Compiling C object src/egl/libEGL.so.1.0.0.p/main_eglsurface.c.o [91/990] Compiling C object src/gallium/auxiliary/libgalliumvl.a.p/vl_vl_compositor_cs.c.o [92/990] Compiling C object src/util/libmesa_util.a.p/register_allocate.c.o [93/990] Compiling C object src/gallium/auxiliary/libgalliumvl.a.p/vl_vl_decoder.c.o [94/990] Compiling C object src/egl/libEGL.so.1.0.0.p/drivers_dri2_platform_drm.c.o [95/990] Compiling C object src/util/libxmlconfig.a.p/xmlconfig.c.o [96/990] Compiling C object src/gbm/libgbm.so.1.0.0.p/backends_dri_gbm_dri.c.o [97/990] Generating program_parse_tab.[ch] with a custom command [98/990] Generating format_info.h with a custom command (wrapped by meson to capture output) [99/990] Generating nir_opcodes.h with a custom command (wrapped by meson to capture output) [100/990] Compiling C object src/gallium/auxiliary/libgalliumvl.a.p/vl_vl_compositor.c.o [101/990] Generating nir_opcodes.c with a custom command (wrapped by meson to capture output) [102/990] Generating nir_builder_opcodes.h with a custom command (wrapped by meson to capture output) [103/990] Generating ir_expression_operation_strings.h with a custom command (wrapped by meson to capture output) [104/990] Generating format_pack.c with a custom command (wrapped by meson to capture output) [105/990] Generating ir_expression_operation_constant.h with a custom command (wrapped by meson to capture output) [106/990] Generating glsl_parser with a custom command [107/990] Generating ir_expression_operation.h with a custom command (wrapped by meson to capture output) [108/990] Generating u_format_pack.h with a custom command (wrapped by meson to capture output) [109/990] Generating u_format_table.c with a custom command (wrapped by meson to capture output) [110/990] Generating u_unfilled_gen.c with a custom command (wrapped by meson to capture output) [111/990] Generating nir_constant_expressions.c with a custom command (wrapped by meson to capture output) [112/990] Generating u_indices_gen.c with a custom command (wrapped by meson to capture output) [113/990] Generating enums.c with a custom command (wrapped by meson to capture output) [114/990] Compiling C object src/egl/libEGL.so.1.0.0.p/main_eglapi.c.o [115/990] Compiling C object src/egl/libEGL.so.1.0.0.p/drivers_dri2_egl_dri2.c.o [116/990] Generating marshal_generated1.c with a custom command (wrapped by meson to capture output) [117/990] Generating marshal_generated2.c with a custom command (wrapped by meson to capture output) [118/990] Generating marshal_generated6.c with a custom command (wrapped by meson to capture output) [119/990] Generating remap_helper.h with a custom command (wrapped by meson to capture output) [120/990] Generating marshal_generated5.c with a custom command (wrapped by meson to capture output) [121/990] Generating marshal_generated.h with a custom command (wrapped by meson to capture output) [122/990] Generating get_hash.h with a custom command (wrapped by meson to capture output) [123/990] Generating marshal_generated7.c with a custom command (wrapped by meson to capture output) [124/990] Generating dispatch.h with a custom command (wrapped by meson to capture output) [125/990] Generating marshal_generated3.c with a custom command (wrapped by meson to capture output) [126/990] Generating api_exec.c with a custom command (wrapped by meson to capture output) [127/990] Generating marshal_generated4.c with a custom command (wrapped by meson to capture output) [128/990] Generating marshal_generated0.c with a custom command (wrapped by meson to capture output) [129/990] Generating shared_glapi_mapi_tmp.h with a custom command (wrapped by meson to capture output) [130/990] Generating format_srgb with a custom command (wrapped by meson to capture output) [131/990] Generating nir_opt_algebraic.c with a custom command (wrapped by meson to capture output) ninja: build stopped: subcommand failed. make: *** [package/pkg-generic.mk:270: /tmp/instance-0/output-1/build/mesa3d-21.1.5/.stamp_built] Error 1 make: Leaving directory '/tmp/instance-0/buildroot'