>>> mesa3d 21.0.3 Downloading wget --passive-ftp -nd -t 3 --no-check-certificate -O '/tmp/instance-4/output-1/build/.mesa-21.0.3.tar.xz.WtrgZN/output' 'https://mesa.freedesktop.org/archive/mesa-21.0.3.tar.xz' --2021-07-31 01:39:29-- https://mesa.freedesktop.org/archive/mesa-21.0.3.tar.xz Resolving mesa.freedesktop.org (mesa.freedesktop.org)... 147.75.198.156 Connecting to mesa.freedesktop.org (mesa.freedesktop.org)|147.75.198.156|:443... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: https://archive.mesa3d.org//mesa-21.0.3.tar.xz [following] --2021-07-31 01:39:29-- https://archive.mesa3d.org//mesa-21.0.3.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: 14710004 (14M) [application/x-xz] Saving to: '/tmp/instance-4/output-1/build/.mesa-21.0.3.tar.xz.WtrgZN/output' 0K .......... .......... .......... .......... .......... 0% 178K 81s 50K .......... .......... .......... .......... .......... 0% 356K 60s 100K .......... .......... .......... .......... .......... 1% 50.9M 40s 150K .......... .......... .......... .......... .......... 1% 351K 40s 200K .......... .......... .......... .......... .......... 1% 163M 32s 250K .......... .......... .......... .......... .......... 2% 169M 27s 300K .......... .......... .......... .......... .......... 2% 181M 23s 350K .......... .......... .......... .......... .......... 2% 360K 25s 400K .......... .......... .......... .......... .......... 3% 204M 22s 450K .......... .......... .......... .......... .......... 3% 239M 20s 500K .......... .......... .......... .......... .......... 3% 227M 18s 550K .......... .......... .......... .......... .......... 4% 262M 16s 600K .......... .......... .......... .......... .......... 4% 220M 15s 650K .......... .......... .......... .......... .......... 4% 6.98M 14s 700K .......... .......... .......... .......... .......... 5% 337M 13s 750K .......... .......... .......... .......... .......... 5% 342M 12s 800K .......... .......... .......... .......... .......... 5% 380K 13s 850K .......... .......... .......... .......... .......... 6% 34.0M 13s 900K .......... .......... .......... .......... .......... 6% 238M 12s 950K .......... .......... .......... .......... .......... 6% 255M 11s 1000K .......... .......... .......... .......... .......... 7% 67.8M 11s 1050K .......... .......... .......... .......... .......... 7% 266M 10s 1100K .......... .......... .......... .......... .......... 8% 35.2M 10s 1150K .......... .......... .......... .......... .......... 8% 236M 9s 1200K .......... .......... .......... .......... .......... 8% 203M 9s 1250K .......... .......... .......... .......... .......... 9% 190M 9s 1300K .......... .......... .......... .......... .......... 9% 255M 8s 1350K .......... .......... .......... .......... .......... 9% 4.45M 8s 1400K .......... .......... .......... .......... .......... 10% 187M 8s 1450K .......... .......... .......... .......... .......... 10% 241M 7s 1500K .......... .......... .......... .......... .......... 10% 243M 7s 1550K .......... .......... .......... .......... .......... 11% 234M 7s 1600K .......... .......... .......... .......... .......... 11% 404K 8s 1650K .......... .......... .......... .......... .......... 11% 237M 7s 1700K .......... .......... .......... .......... .......... 12% 36.6M 7s 1750K .......... .......... .......... .......... .......... 12% 255M 7s 1800K .......... .......... .......... .......... .......... 12% 59.2M 7s 1850K .......... .......... .......... .......... .......... 13% 251M 6s 1900K .......... .......... .......... .......... .......... 13% 196M 6s 1950K .......... .......... .......... .......... .......... 13% 266M 6s 2000K .......... .......... .......... .......... .......... 14% 8.07M 6s 2050K .......... .......... .......... .......... .......... 14% 255M 6s 2100K .......... .......... .......... .......... .......... 14% 195M 6s 2150K .......... .......... .......... .......... .......... 15% 267M 6s 2200K .......... .......... .......... .......... .......... 15% 235M 5s 2250K .......... .......... .......... .......... .......... 16% 261M 5s 2300K .......... .......... .......... .......... .......... 16% 205M 5s 2350K .......... .......... .......... .......... .......... 16% 244M 5s 2400K .......... .......... .......... .......... .......... 17% 215M 5s 2450K .......... .......... .......... .......... .......... 17% 254M 5s 2500K .......... .......... .......... .......... .......... 17% 174M 5s 2550K .......... .......... .......... .......... .......... 18% 247M 5s 2600K .......... .......... .......... .......... .......... 18% 233M 4s 2650K .......... .......... .......... .......... .......... 18% 250M 4s 2700K .......... .......... .......... .......... .......... 19% 193M 4s 2750K .......... .......... .......... .......... .......... 19% 256M 4s 2800K .......... .......... .......... .......... .......... 19% 214M 4s 2850K .......... .......... .......... .......... .......... 20% 263M 4s 2900K .......... .......... .......... .......... .......... 20% 204M 4s 2950K .......... .......... .......... .......... .......... 20% 273M 4s 3000K .......... .......... .......... .......... .......... 21% 244M 4s 3050K .......... .......... .......... .......... .......... 21% 269M 4s 3100K .......... .......... .......... .......... .......... 21% 272M 4s 3150K .......... .......... .......... .......... .......... 22% 6.04M 4s 3200K .......... .......... .......... .......... .......... 22% 234M 3s 3250K .......... .......... .......... .......... .......... 22% 418K 4s 3300K .......... .......... .......... .......... .......... 23% 226M 4s 3350K .......... .......... .......... .......... .......... 23% 26.8M 4s 3400K .......... .......... .......... .......... .......... 24% 242M 4s 3450K .......... .......... .......... .......... .......... 24% 271M 4s 3500K .......... .......... .......... .......... .......... 24% 201M 3s 3550K .......... .......... .......... .......... .......... 25% 273M 3s 3600K .......... .......... .......... .......... .......... 25% 218M 3s 3650K .......... .......... .......... .......... .......... 25% 101M 3s 3700K .......... .......... .......... .......... .......... 26% 271M 3s 3750K .......... .......... .......... .......... .......... 26% 31.2M 3s 3800K .......... .......... .......... .......... .......... 26% 262M 3s 3850K .......... .......... .......... .......... .......... 27% 255M 3s 3900K .......... .......... .......... .......... .......... 27% 301M 3s 3950K .......... .......... .......... .......... .......... 27% 203M 3s 4000K .......... .......... .......... .......... .......... 28% 238M 3s 4050K .......... .......... .......... .......... .......... 28% 75.8M 3s 4100K .......... .......... .......... .......... .......... 28% 225M 3s 4150K .......... .......... .......... .......... .......... 29% 30.8M 3s 4200K .......... .......... .......... .......... .......... 29% 219M 3s 4250K .......... .......... .......... .......... .......... 29% 74.6M 3s 4300K .......... .......... .......... .......... .......... 30% 271M 3s 4350K .......... .......... .......... .......... .......... 30% 285M 3s 4400K .......... .......... .......... .......... .......... 30% 54.1M 3s 4450K .......... .......... .......... .......... .......... 31% 47.1M 2s 4500K .......... .......... .......... .......... .......... 31% 262M 2s 4550K .......... .......... .......... .......... .......... 32% 70.1M 2s 4600K .......... .......... .......... .......... .......... 32% 57.9M 2s 4650K .......... .......... .......... .......... .......... 32% 253M 2s 4700K .......... .......... .......... .......... .......... 33% 80.0M 2s 4750K .......... .......... .......... .......... .......... 33% 263M 2s 4800K .......... .......... .......... .......... .......... 33% 71.4M 2s 4850K .......... .......... .......... .......... .......... 34% 264M 2s 4900K .......... .......... .......... .......... .......... 34% 74.1M 2s 4950K .......... .......... .......... .......... .......... 34% 258M 2s 5000K .......... .......... .......... .......... .......... 35% 71.9M 2s 5050K .......... .......... .......... .......... .......... 35% 258M 2s 5100K .......... .......... .......... .......... .......... 35% 74.4M 2s 5150K .......... .......... .......... .......... .......... 36% 248M 2s 5200K .......... .......... .......... .......... .......... 36% 54.8M 2s 5250K .......... .......... .......... .......... .......... 36% 108M 2s 5300K .......... .......... .......... .......... .......... 37% 223M 2s 5350K .......... .......... .......... .......... .......... 37% 78.3M 2s 5400K .......... .......... .......... .......... .......... 37% 208M 2s 5450K .......... .......... .......... .......... .......... 38% 76.1M 2s 5500K .......... .......... .......... .......... .......... 38% 230M 2s 5550K .......... .......... .......... .......... .......... 38% 77.4M 2s 5600K .......... .......... .......... .......... .......... 39% 215M 2s 5650K .......... .......... .......... .......... .......... 39% 47.6M 2s 5700K .......... .......... .......... .......... .......... 40% 222M 2s 5750K .......... .......... .......... .......... .......... 40% 7.50M 2s 5800K .......... .......... .......... .......... .......... 40% 344M 2s 5850K .......... .......... .......... .......... .......... 41% 371M 2s 5900K .......... .......... .......... .......... .......... 41% 392M 2s 5950K .......... .......... .......... .......... .......... 41% 391M 2s 6000K .......... .......... .......... .......... .......... 42% 446K 2s 6050K .......... .......... .......... .......... .......... 42% 265M 2s 6100K .......... .......... .......... .......... .......... 42% 84.1M 2s 6150K .......... .......... .......... .......... .......... 43% 273M 2s 6200K .......... .......... .......... .......... .......... 43% 70.7M 2s 6250K .......... .......... .......... .......... .......... 43% 283M 2s 6300K .......... .......... .......... .......... .......... 44% 73.2M 2s 6350K .......... .......... .......... .......... .......... 44% 270M 2s 6400K .......... .......... .......... .......... .......... 44% 69.8M 2s 6450K .......... .......... .......... .......... .......... 45% 264M 2s 6500K .......... .......... .......... .......... .......... 45% 11.7M 2s 6550K .......... .......... .......... .......... .......... 45% 245M 2s 6600K .......... .......... .......... .......... .......... 46% 243M 1s 6650K .......... .......... .......... .......... .......... 46% 247M 1s 6700K .......... .......... .......... .......... .......... 46% 163M 1s 6750K .......... .......... .......... .......... .......... 47% 248M 1s 6800K .......... .......... .......... .......... .......... 47% 213M 1s 6850K .......... .......... .......... .......... .......... 48% 158M 1s 6900K .......... .......... .......... .......... .......... 48% 235M 1s 6950K .......... .......... .......... .......... .......... 48% 254M 1s 7000K .......... .......... .......... .......... .......... 49% 223M 1s 7050K .......... .......... .......... .......... .......... 49% 169M 1s 7100K .......... .......... .......... .......... .......... 49% 240M 1s 7150K .......... .......... .......... .......... .......... 50% 245M 1s 7200K .......... .......... .......... .......... .......... 50% 193M 1s 7250K .......... .......... .......... .......... .......... 50% 168M 1s 7300K .......... .......... .......... .......... .......... 51% 242M 1s 7350K .......... .......... .......... .......... .......... 51% 103M 1s 7400K .......... .......... .......... .......... .......... 51% 185M 1s 7450K .......... .......... .......... .......... .......... 52% 73.7M 1s 7500K .......... .......... .......... .......... .......... 52% 257M 1s 7550K .......... .......... .......... .......... .......... 52% 46.1M 1s 7600K .......... .......... .......... .......... .......... 53% 202M 1s 7650K .......... .......... .......... .......... .......... 53% 184M 1s 7700K .......... .......... .......... .......... .......... 53% 275M 1s 7750K .......... .......... .......... .......... .......... 54% 11.0M 1s 7800K .......... .......... .......... .......... .......... 54% 137M 1s 7850K .......... .......... .......... .......... .......... 54% 231M 1s 7900K .......... .......... .......... .......... .......... 55% 237M 1s 7950K .......... .......... .......... .......... .......... 55% 237M 1s 8000K .......... .......... .......... .......... .......... 56% 154M 1s 8050K .......... .......... .......... .......... .......... 56% 231M 1s 8100K .......... .......... .......... .......... .......... 56% 221M 1s 8150K .......... .......... .......... .......... .......... 57% 239M 1s 8200K .......... .......... .......... .......... .......... 57% 216M 1s 8250K .......... .......... .......... .......... .......... 57% 247M 1s 8300K .......... .......... .......... .......... .......... 58% 185M 1s 8350K .......... .......... .......... .......... .......... 58% 249M 1s 8400K .......... .......... .......... .......... .......... 58% 200M 1s 8450K .......... .......... .......... .......... .......... 59% 240M 1s 8500K .......... .......... .......... .......... .......... 59% 265M 1s 8550K .......... .......... .......... .......... .......... 59% 139M 1s 8600K .......... .......... .......... .......... .......... 60% 95.1M 1s 8650K .......... .......... .......... .......... .......... 60% 47.2M 1s 8700K .......... .......... .......... .......... .......... 60% 235M 1s 8750K .......... .......... .......... .......... .......... 61% 104M 1s 8800K .......... .......... .......... .......... .......... 61% 14.0M 1s 8850K .......... .......... .......... .......... .......... 61% 436K 1s 8900K .......... .......... .......... .......... .......... 62% 262M 1s 8950K .......... .......... .......... .......... .......... 62% 41.0M 1s 9000K .......... .......... .......... .......... .......... 62% 162M 1s 9050K .......... .......... .......... .......... .......... 63% 255M 1s 9100K .......... .......... .......... .......... .......... 63% 256M 1s 9150K .......... .......... .......... .......... .......... 64% 128M 1s 9200K .......... .......... .......... .......... .......... 64% 207M 1s 9250K .......... .......... .......... .......... .......... 64% 9.50M 1s 9300K .......... .......... .......... .......... .......... 65% 215M 1s 9350K .......... .......... .......... .......... .......... 65% 191M 1s 9400K .......... .......... .......... .......... .......... 65% 211M 1s 9450K .......... .......... .......... .......... .......... 66% 242M 1s 9500K .......... .......... .......... .......... .......... 66% 245M 1s 9550K .......... .......... .......... .......... .......... 66% 163M 1s 9600K .......... .......... .......... .......... .......... 67% 200M 1s 9650K .......... .......... .......... .......... .......... 67% 239M 1s 9700K .......... .......... .......... .......... .......... 67% 243M 1s 9750K .......... .......... .......... .......... .......... 68% 176M 1s 9800K .......... .......... .......... .......... .......... 68% 203M 1s 9850K .......... .......... .......... .......... .......... 68% 236M 1s 9900K .......... .......... .......... .......... .......... 69% 186M 1s 9950K .......... .......... .......... .......... .......... 69% 227M 1s 10000K .......... .......... .......... .......... .......... 69% 197M 1s 10050K .......... .......... .......... .......... .......... 70% 250M 1s 10100K .......... .......... .......... .......... .......... 70% 71.7M 1s 10150K .......... .......... .......... .......... .......... 71% 244M 1s 10200K .......... .......... .......... .......... .......... 71% 164M 1s 10250K .......... .......... .......... .......... .......... 71% 249M 1s 10300K .......... .......... .......... .......... .......... 72% 248M 1s 10350K .......... .......... .......... .......... .......... 72% 253M 1s 10400K .......... .......... .......... .......... .......... 72% 6.01M 1s 10450K .......... .......... .......... .......... .......... 73% 204M 1s 10500K .......... .......... .......... .......... .......... 73% 253M 1s 10550K .......... .......... .......... .......... .......... 73% 280M 1s 10600K .......... .......... .......... .......... .......... 74% 233M 1s 10650K .......... .......... .......... .......... .......... 74% 280M 0s 10700K .......... .......... .......... .......... .......... 74% 229M 0s 10750K .......... .......... .......... .......... .......... 75% 387M 0s 10800K .......... .......... .......... .......... .......... 75% 311M 0s 10850K .......... .......... .......... .......... .......... 75% 329M 0s 10900K .......... .......... .......... .......... .......... 76% 399M 0s 10950K .......... .......... .......... .......... .......... 76% 386M 0s 11000K .......... .......... .......... .......... .......... 76% 188M 0s 11050K .......... .......... .......... .......... .......... 77% 244M 0s 11100K .......... .......... .......... .......... .......... 77% 242M 0s 11150K .......... .......... .......... .......... .......... 77% 300M 0s 11200K .......... .......... .......... .......... .......... 78% 250M 0s 11250K .......... .......... .......... .......... .......... 78% 372M 0s 11300K .......... .......... .......... .......... .......... 79% 411M 0s 11350K .......... .......... .......... .......... .......... 79% 365M 0s 11400K .......... .......... .......... .......... .......... 79% 286M 0s 11450K .......... .......... .......... .......... .......... 80% 180M 0s 11500K .......... .......... .......... .......... .......... 80% 271M 0s 11550K .......... .......... .......... .......... .......... 80% 273M 0s 11600K .......... .......... .......... .......... .......... 81% 268M 0s 11650K .......... .......... .......... .......... .......... 81% 383M 0s 11700K .......... .......... .......... .......... .......... 81% 290M 0s 11750K .......... .......... .......... .......... .......... 82% 393M 0s 11800K .......... .......... .......... .......... .......... 82% 316M 0s 11850K .......... .......... .......... .......... .......... 82% 351M 0s 11900K .......... .......... .......... .......... .......... 83% 418K 0s 11950K .......... .......... .......... .......... .......... 83% 268M 0s 12000K .......... .......... .......... .......... .......... 83% 219M 0s 12050K .......... .......... .......... .......... .......... 84% 262M 0s 12100K .......... .......... .......... .......... .......... 84% 249M 0s 12150K .......... .......... .......... .......... .......... 84% 283M 0s 12200K .......... .......... .......... .......... .......... 85% 136M 0s 12250K .......... .......... .......... .......... .......... 85% 275M 0s 12300K .......... .......... .......... .......... .......... 85% 67.4M 0s 12350K .......... .......... .......... .......... .......... 86% 276M 0s 12400K .......... .......... .......... .......... .......... 86% 78.7M 0s 12450K .......... .......... .......... .......... .......... 87% 57.5M 0s 12500K .......... .......... .......... .......... .......... 87% 258M 0s 12550K .......... .......... .......... .......... .......... 87% 91.3M 0s 12600K .......... .......... .......... .......... .......... 88% 241M 0s 12650K .......... .......... .......... .......... .......... 88% 61.7M 0s 12700K .......... .......... .......... .......... .......... 88% 28.7M 0s 12750K .......... .......... .......... .......... .......... 89% 382M 0s 12800K .......... .......... .......... .......... .......... 89% 347M 0s 12850K .......... .......... .......... .......... .......... 89% 412M 0s 12900K .......... .......... .......... .......... .......... 90% 422M 0s 12950K .......... .......... .......... .......... .......... 90% 198M 0s 13000K .......... .......... .......... .......... .......... 90% 67.0M 0s 13050K .......... .......... .......... .......... .......... 91% 272M 0s 13100K .......... .......... .......... .......... .......... 91% 74.2M 0s 13150K .......... .......... .......... .......... .......... 91% 259M 0s 13200K .......... .......... .......... .......... .......... 92% 70.4M 0s 13250K .......... .......... .......... .......... .......... 92% 273M 0s 13300K .......... .......... .......... .......... .......... 92% 6.30M 0s 13350K .......... .......... .......... .......... .......... 93% 139M 0s 13400K .......... .......... .......... .......... .......... 93% 222M 0s 13450K .......... .......... .......... .......... .......... 93% 254M 0s 13500K .......... .......... .......... .......... .......... 94% 233M 0s 13550K .......... .......... .......... .......... .......... 94% 176M 0s 13600K .......... .......... .......... .......... .......... 95% 224M 0s 13650K .......... .......... .......... .......... .......... 95% 255M 0s 13700K .......... .......... .......... .......... .......... 95% 271M 0s 13750K .......... .......... .......... .......... .......... 96% 198M 0s 13800K .......... .......... .......... .......... .......... 96% 226M 0s 13850K .......... .......... .......... .......... .......... 96% 352M 0s 13900K .......... .......... .......... .......... .......... 97% 383M 0s 13950K .......... .......... .......... .......... .......... 97% 381M 0s 14000K .......... .......... .......... .......... .......... 97% 208M 0s 14050K .......... .......... .......... .......... .......... 98% 244M 0s 14100K .......... .......... .......... .......... .......... 98% 252M 0s 14150K .......... .......... .......... .......... .......... 98% 365M 0s 14200K .......... .......... .......... .......... .......... 99% 12.3M 0s 14250K .......... .......... .......... .......... .......... 99% 271M 0s 14300K .......... .......... .......... .......... .......... 99% 267M 0s 14350K .......... ..... 100% 251M=1.6s 2021-07-31 01:39:31 (8.85 MB/s) - '/tmp/instance-4/output-1/build/.mesa-21.0.3.tar.xz.WtrgZN/output' saved [14710004/14710004] mesa-21.0.3.tar.xz: OK (sha256: 565c6f4bd2d5747b919454fc1d439963024fc78ca56fd05158c3b2cde2f6912b) mesa-21.0.3.tar.xz: OK (sha512: 4a8aee48a8ea7f32e8aa3bbbd91db26c6053b9a43e62ff88256929e6bc147884f0fef988726b5a3d59d7008663f017c746a0352fd3fcc1c476b8190af4a2531f) >>> mesa3d 21.0.3 Extracting xzcat /tmp/instance-4/dl/mesa3d/mesa-21.0.3.tar.xz | tar --strip-components=1 -C /tmp/instance-4/output-1/build/mesa3d-21.0.3 -xf - >>> mesa3d 21.0.3 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.0.3 Configuring rm -rf /tmp/instance-4/output-1/build/mesa3d-21.0.3//build mkdir -p /tmp/instance-4/output-1/build/mesa3d-21.0.3//build sed -e 's%@TARGET_CROSS@%/tmp/instance-4/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', '-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', '-D_FORTIFY_SOURCE=1'%g" -e 's%@HOST_DIR@%/tmp/instance-4/output-1/host%g' -e 's%@STAGING_DIR@%/tmp/instance-4/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-4/output-1/build/mesa3d-21.0.3//build/cross-compilation.conf PATH="/tmp/instance-4/output-1/host/bin:/tmp/instance-4/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-4/output-1/host/bin/meson --prefix=/usr --libdir=lib --default-library=shared --buildtype=release --cross-file=/tmp/instance-4/output-1/build/mesa3d-21.0.3//build/cross-compilation.conf -Db_pie=false -Dstrip=false -Dbuild.pkg_config_path=/tmp/instance-4/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,nouveau,panfrost,tegra -Dgallium-extra-hud=true -Ddri-drivers= -Ddri3=disabled -Dvulkan-drivers= -Dosmesa=false -Dopengl=true -Dgallium-va=disabled -Dplatforms= -Dgbm=disabled -Degl=disabled -Dgles1=disabled -Dgles2=disabled -Dgallium-xvmc=disabled -Dvalgrind=disabled -Dlibunwind=disabled -Dgallium-vdpau=disabled -Dlmsensors=enabled -Dzstd=disabled /tmp/instance-4/output-1/build/mesa3d-21.0.3/ /tmp/instance-4/output-1/build/mesa3d-21.0.3//build The Meson build system Version: 0.57.2 Source dir: /tmp/instance-4/output-1/build/mesa3d-21.0.3 Build dir: /tmp/instance-4/output-1/build/mesa3d-21.0.3/build Build type: cross build Program python found: YES (/tmp/instance-4/output-1/host/bin/python) Project name: mesa Project version: 21.0.3 C compiler for the host machine: /tmp/instance-4/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-4/output-1/host/bin/riscv32-linux-gcc ld.bfd 2.34 C++ compiler for the host machine: /tmp/instance-4/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-4/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-4/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 -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-4/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 Message: libdrm 2.4.102 needed because nouveau has the highest requirement Run-time dependency libdrm_nouveau found: YES 2.4.106 Run-time dependency libdrm found: YES 2.4.106 Program bison found: YES (/tmp/instance-4/output-1/host/bin/bison) Program bison found: YES 3.7.6 (/tmp/instance-4/output-1/host/bin/bison) Program flex found: YES (/tmp/instance-4/output-1/host/bin/flex) Library sensors found: YES 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-4/output-1/build/mesa3d-21.0.3/bin/symbols-check.py) Program install_megadrivers.py found: YES (/tmp/instance-4/output-1/host/bin/python3 /tmp/instance-4/output-1/build/mesa3d-21.0.3/bin/install_megadrivers.py) Message: Configuration summary: prefix: /usr libdir: lib includedir: include OpenGL: yes (ES1: no ES2: no) OSMesa: no EGL: no GBM: no Vulkan drivers: no llvm: no Gallium drivers: etnaviv nouveau panfrost tegra Gallium st: mesa HUD lmsensors: yes Shared-glapi: yes Build targets in project: 121 Option buildtype is: release [default: debugoptimized] Found ninja-1.10.2 at /tmp/instance-4/output-1/host/bin/ninja >>> mesa3d 21.0.3 Building PATH="/tmp/instance-4/output-1/host/bin:/tmp/instance-4/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" PYTHONNOUSERSITE=y /tmp/instance-4/output-1/host/bin/ninja -j96 -C /tmp/instance-4/output-1/build/mesa3d-21.0.3//build ninja: Entering directory `/tmp/instance-4/output-1/build/mesa3d-21.0.3//build' [1/193] Generating git_sha1.h with a custom command [2/193] Compiling C object src/gallium/winsys/tegra/drm/libtegradrm.a.p/tegra_drm_winsys.c.o [3/193] Compiling C object src/gallium/winsys/panfrost/drm/libpanfrostwinsys.a.p/panfrost_drm_winsys.c.o [4/193] Linking static target src/gallium/winsys/tegra/drm/libtegradrm.a [5/193] Generating nir_intrinsics_indices.h with a custom command [6/193] Linking static target src/gallium/winsys/panfrost/drm/libpanfrostwinsys.a [7/193] Generating nir_intrinsics.h with a custom command [8/193] Compiling C object src/gallium/winsys/nouveau/drm/libnouveauwinsys.a.p/nouveau_drm_winsys.c.o [9/193] Linking static target src/gallium/winsys/nouveau/drm/libnouveauwinsys.a [10/193] Compiling C object src/gallium/drivers/tegra/libtegra.a.p/tegra_screen.c.o [11/193] Compiling C object src/gallium/drivers/tegra/libtegra.a.p/tegra_context.c.o [12/193] Linking static target src/gallium/drivers/tegra/libtegra.a [13/193] Generating nir_opcodes.h with a custom command (wrapped by meson to capture output) [14/193] Generating midgard_pack.h with a custom command (wrapped by meson to capture output) [15/193] Generating nir_builder_opcodes.h with a custom command (wrapped by meson to capture output) [16/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_fence.c.o [17/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_heap.c.o [18/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_mm.c.o [19/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_vp3_video_bsp.c.o [20/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_vp3_video.c.o [21/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_vp3_video_vp.c.o [22/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_miptree.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_miptree.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_miptree.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_miptree.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_miptree.c.o -c ../src/gallium/drivers/nouveau/nvc0/nvc0_miptree.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nvc0/nvc0_winsys.h:11, from ../src/gallium/drivers/nouveau/nvc0/nvc0_context.h:14, from ../src/gallium/drivers/nouveau/nvc0/nvc0_miptree.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 [23/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_program.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_program.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_program.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_program.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_program.c.o -c ../src/gallium/drivers/nouveau/nvc0/nvc0_program.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nvc0/nvc0_winsys.h:11, from ../src/gallium/drivers/nouveau/nvc0/nvc0_context.h:14, from ../src/gallium/drivers/nouveau/nvc0/nvc0_program.c:29: ../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 [24/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_query.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_query.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_query.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_query.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_query.c.o -c ../src/gallium/drivers/nouveau/nvc0/nvc0_query.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nvc0/nvc0_winsys.h:11, from ../src/gallium/drivers/nouveau/nvc0/nvc0_context.h:14, from ../src/gallium/drivers/nouveau/nvc0/nvc0_query.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 [25/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_query_hw.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_query_hw.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_query_hw.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_query_hw.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_query_hw.c.o -c ../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nvc0/nvc0_winsys.h:11, from ../src/gallium/drivers/nouveau/nvc0/nvc0_context.h:14, from ../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw.c:26: ../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 [26/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_buffer.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_buffer.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_buffer.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_buffer.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_buffer.c.o -c ../src/gallium/drivers/nouveau/nouveau_buffer.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nouveau_buffer.c:11: ../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 [27/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_screen.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_screen.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_screen.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_screen.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_screen.c.o -c ../src/gallium/drivers/nouveau/nouveau_screen.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nouveau_screen.c:26: ../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 [28/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_video.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_video.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_video.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_video.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_video.c.o -c ../src/gallium/drivers/nouveau/nouveau_video.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nouveau_video.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 [29/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_clear.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_clear.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_clear.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_clear.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_clear.c.o -c ../src/gallium/drivers/nouveau/nv30/nv30_clear.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv30/nv30_winsys.h:6, from ../src/gallium/drivers/nouveau/nv30/nv30_screen.h:12, from ../src/gallium/drivers/nouveau/nv30/nv30_context.h:7, from ../src/gallium/drivers/nouveau/nv30/nv30_clear.c:32: ../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 [30/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_context.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_context.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_context.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_context.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_context.c.o -c ../src/gallium/drivers/nouveau/nv30/nv30_context.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv30/nv30_winsys.h:6, from ../src/gallium/drivers/nouveau/nv30/nv30_screen.h:12, from ../src/gallium/drivers/nouveau/nv30/nv30_context.h:7, from ../src/gallium/drivers/nouveau/nv30/nv30_context.c:33: ../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 [31/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_draw.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_draw.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_draw.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_draw.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_draw.c.o -c ../src/gallium/drivers/nouveau/nv30/nv30_draw.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv30/nv30_winsys.h:6, from ../src/gallium/drivers/nouveau/nv30/nv30_screen.h:12, from ../src/gallium/drivers/nouveau/nv30/nv30_context.h:7, from ../src/gallium/drivers/nouveau/nv30/nv30_draw.c:34: ../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 [32/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_format.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_format.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_format.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_format.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_format.c.o -c ../src/gallium/drivers/nouveau/nv30/nv30_format.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv30/nv30_winsys.h:6, from ../src/gallium/drivers/nouveau/nv30/nv30_screen.h:12, from ../src/gallium/drivers/nouveau/nv30/nv30_context.h:7, from ../src/gallium/drivers/nouveau/nv30/nv30_format.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 [33/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_fragprog.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_fragprog.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_fragprog.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_fragprog.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_fragprog.c.o -c ../src/gallium/drivers/nouveau/nv30/nv30_fragprog.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv30/nv30_winsys.h:6, from ../src/gallium/drivers/nouveau/nv30/nv30_screen.h:12, from ../src/gallium/drivers/nouveau/nv30/nv30_context.h:7, from ../src/gallium/drivers/nouveau/nv30/nv30_fragprog.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 [34/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_fragtex.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_fragtex.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_fragtex.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_fragtex.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_fragtex.c.o -c ../src/gallium/drivers/nouveau/nv30/nv30_fragtex.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv30/nv30_winsys.h:6, from ../src/gallium/drivers/nouveau/nv30/nv30_screen.h:12, from ../src/gallium/drivers/nouveau/nv30/nv30_context.h:7, from ../src/gallium/drivers/nouveau/nv30/nv30_fragtex.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 [35/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_miptree.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_miptree.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_miptree.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_miptree.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_miptree.c.o -c ../src/gallium/drivers/nouveau/nv30/nv30_miptree.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv30/nv30_winsys.h:6, from ../src/gallium/drivers/nouveau/nv30/nv30_screen.h:12, from ../src/gallium/drivers/nouveau/nv30/nv30_miptree.c:32: ../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 [36/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_push.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_push.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_push.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_push.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_push.c.o -c ../src/gallium/drivers/nouveau/nv30/nv30_push.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv30/nv30_winsys.h:6, from ../src/gallium/drivers/nouveau/nv30/nv30_screen.h:12, from ../src/gallium/drivers/nouveau/nv30/nv30_context.h:7, from ../src/gallium/drivers/nouveau/nv30/nv30_push.c:34: ../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/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_query.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_query.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_query.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_query.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_query.c.o -c ../src/gallium/drivers/nouveau/nv30/nv30_query.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv30/nv30_winsys.h:6, from ../src/gallium/drivers/nouveau/nv30/nv30_screen.h:12, from ../src/gallium/drivers/nouveau/nv30/nv30_query.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 [38/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_resource.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_resource.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_resource.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_resource.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_resource.c.o -c ../src/gallium/drivers/nouveau/nv30/nv30_resource.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv30/nv30_winsys.h:6, from ../src/gallium/drivers/nouveau/nv30/nv30_screen.h:12, from ../src/gallium/drivers/nouveau/nv30/nv30_resource.c:29: ../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 [39/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_screen.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_screen.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_screen.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_screen.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_screen.c.o -c ../src/gallium/drivers/nouveau/nv30/nv30_screen.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv30/nv30_winsys.h:6, from ../src/gallium/drivers/nouveau/nv30/nv30_screen.h:12, from ../src/gallium/drivers/nouveau/nv30/nv30_screen.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 [40/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_state.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_state.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_state.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_state.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_state.c.o -c ../src/gallium/drivers/nouveau/nv30/nv30_state.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv30/nv30_winsys.h:6, from ../src/gallium/drivers/nouveau/nv30/nv30_screen.h:12, from ../src/gallium/drivers/nouveau/nv30/nv30_context.h:7, from ../src/gallium/drivers/nouveau/nv30/nv30_state.c:33: ../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 [41/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_state_validate.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_state_validate.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_state_validate.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_state_validate.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_state_validate.c.o -c ../src/gallium/drivers/nouveau/nv30/nv30_state_validate.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv30/nv30_winsys.h:6, from ../src/gallium/drivers/nouveau/nv30/nv30_screen.h:12, from ../src/gallium/drivers/nouveau/nv30/nv30_context.h:7, from ../src/gallium/drivers/nouveau/nv30/nv30_state_validate.c:32: ../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 [42/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_texture.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_texture.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_texture.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_texture.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_texture.c.o -c ../src/gallium/drivers/nouveau/nv30/nv30_texture.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv30/nv30_winsys.h:6, from ../src/gallium/drivers/nouveau/nv30/nv30_screen.h:12, from ../src/gallium/drivers/nouveau/nv30/nv30_context.h:7, from ../src/gallium/drivers/nouveau/nv30/nv30_texture.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 [43/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_transfer.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_transfer.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_transfer.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_transfer.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_transfer.c.o -c ../src/gallium/drivers/nouveau/nv30/nv30_transfer.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv30/nv30_winsys.h:6, from ../src/gallium/drivers/nouveau/nv30/nv30_screen.h:12, from ../src/gallium/drivers/nouveau/nv30/nv30_context.h:7, from ../src/gallium/drivers/nouveau/nv30/nv30_transfer.c:37: ../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 [44/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_vbo.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_vbo.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_vbo.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_vbo.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_vbo.c.o -c ../src/gallium/drivers/nouveau/nv30/nv30_vbo.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv30/nv30_winsys.h:6, from ../src/gallium/drivers/nouveau/nv30/nv30_screen.h:12, from ../src/gallium/drivers/nouveau/nv30/nv30_context.h:7, from ../src/gallium/drivers/nouveau/nv30/nv30_vbo.c:34: ../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 [45/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_vertprog.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_vertprog.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_vertprog.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_vertprog.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_vertprog.c.o -c ../src/gallium/drivers/nouveau/nv30/nv30_vertprog.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv30/nv30_winsys.h:6, from ../src/gallium/drivers/nouveau/nv30/nv30_screen.h:12, from ../src/gallium/drivers/nouveau/nv30/nv30_context.h:7, from ../src/gallium/drivers/nouveau/nv30/nv30_vertprog.c:32: ../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 [46/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv40_verttex.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv40_verttex.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv40_verttex.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv40_verttex.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv40_verttex.c.o -c ../src/gallium/drivers/nouveau/nv30/nv40_verttex.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv30/nv30_winsys.h:6, from ../src/gallium/drivers/nouveau/nv30/nv30_screen.h:12, from ../src/gallium/drivers/nouveau/nv30/nv30_context.h:7, from ../src/gallium/drivers/nouveau/nv30/nv40_verttex.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 [47/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_compute.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_compute.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_compute.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_compute.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_compute.c.o -c ../src/gallium/drivers/nouveau/nv50/nv50_compute.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv50/nv50_winsys.h:11, from ../src/gallium/drivers/nouveau/nv50/nv50_context.h:13, from ../src/gallium/drivers/nouveau/nv50/nv50_compute.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 [48/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_context.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_context.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_context.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_context.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_context.c.o -c ../src/gallium/drivers/nouveau/nv50/nv50_context.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv50/nv50_winsys.h:11, from ../src/gallium/drivers/nouveau/nv50/nv50_context.h:13, from ../src/gallium/drivers/nouveau/nv50/nv50_context.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 [49/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_formats.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_formats.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_formats.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_formats.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_formats.c.o -c ../src/gallium/drivers/nouveau/nv50/nv50_formats.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv50/nv50_winsys.h:11, from ../src/gallium/drivers/nouveau/nv50/nv50_screen.h:9, from ../src/gallium/drivers/nouveau/nv50/nv50_formats.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 [50/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_miptree.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_miptree.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_miptree.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_miptree.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_miptree.c.o -c ../src/gallium/drivers/nouveau/nv50/nv50_miptree.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv50/nv50_winsys.h:11, from ../src/gallium/drivers/nouveau/nv50/nv50_context.h:13, from ../src/gallium/drivers/nouveau/nv50/nv50_miptree.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 [51/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_program.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_program.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_program.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_program.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_program.c.o -c ../src/gallium/drivers/nouveau/nv50/nv50_program.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv50/nv50_winsys.h:11, from ../src/gallium/drivers/nouveau/nv50/nv50_context.h:13, from ../src/gallium/drivers/nouveau/nv50/nv50_program.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 [52/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_push.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_push.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_push.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_push.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_push.c.o -c ../src/gallium/drivers/nouveau/nv50/nv50_push.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv50/nv50_winsys.h:11, from ../src/gallium/drivers/nouveau/nv50/nv50_context.h:13, from ../src/gallium/drivers/nouveau/nv50/nv50_push.c:8: ../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 [53/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_query.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_query.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_query.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_query.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_query.c.o -c ../src/gallium/drivers/nouveau/nv50/nv50_query.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv50/nv50_winsys.h:11, from ../src/gallium/drivers/nouveau/nv50/nv50_context.h:13, from ../src/gallium/drivers/nouveau/nv50/nv50_query.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 [54/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_query_hw.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_query_hw.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_query_hw.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_query_hw.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_query_hw.c.o -c ../src/gallium/drivers/nouveau/nv50/nv50_query_hw.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv50/nv50_winsys.h:11, from ../src/gallium/drivers/nouveau/nv50/nv50_context.h:13, from ../src/gallium/drivers/nouveau/nv50/nv50_query_hw.c:26: ../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 [55/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_query_hw_metric.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_query_hw_metric.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_query_hw_metric.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_query_hw_metric.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_query_hw_metric.c.o -c ../src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv50/nv50_winsys.h:11, from ../src/gallium/drivers/nouveau/nv50/nv50_context.h:13, from ../src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:23: ../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 [56/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_query_hw_sm.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_query_hw_sm.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_query_hw_sm.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_query_hw_sm.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_query_hw_sm.c.o -c ../src/gallium/drivers/nouveau/nv50/nv50_query_hw_sm.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv50/nv50_winsys.h:11, from ../src/gallium/drivers/nouveau/nv50/nv50_context.h:13, from ../src/gallium/drivers/nouveau/nv50/nv50_query_hw_sm.c:25: ../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 [57/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_resource.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_resource.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_resource.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_resource.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_resource.c.o -c ../src/gallium/drivers/nouveau/nv50/nv50_resource.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv50/nv50_resource.h:9, from ../src/gallium/drivers/nouveau/nv50/nv50_resource.c:8: ../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 [58/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_screen.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_screen.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_screen.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_screen.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_screen.c.o -c ../src/gallium/drivers/nouveau/nv50/nv50_screen.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv50/nv50_winsys.h:11, from ../src/gallium/drivers/nouveau/nv50/nv50_context.h:13, from ../src/gallium/drivers/nouveau/nv50/nv50_screen.c:32: ../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 [59/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_shader_state.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_shader_state.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_shader_state.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_shader_state.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_shader_state.c.o -c ../src/gallium/drivers/nouveau/nv50/nv50_shader_state.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv50/nv50_winsys.h:11, from ../src/gallium/drivers/nouveau/nv50/nv50_context.h:13, from ../src/gallium/drivers/nouveau/nv50/nv50_shader_state.c:29: ../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 [60/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_state_validate.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_state_validate.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_state_validate.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_state_validate.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_state_validate.c.o -c ../src/gallium/drivers/nouveau/nv50/nv50_state_validate.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv50/nv50_winsys.h:11, from ../src/gallium/drivers/nouveau/nv50/nv50_context.h:13, from ../src/gallium/drivers/nouveau/nv50/nv50_state_validate.c:4: ../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 [61/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_surface.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_surface.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_surface.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_surface.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_surface.c.o -c ../src/gallium/drivers/nouveau/nv50/nv50_surface.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv50/nv50_winsys.h:11, from ../src/gallium/drivers/nouveau/nv50/nv50_context.h:13, from ../src/gallium/drivers/nouveau/nv50/nv50_surface.c:37: ../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/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_tex.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_tex.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_tex.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_tex.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_tex.c.o -c ../src/gallium/drivers/nouveau/nv50/nv50_tex.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv50/nv50_winsys.h:11, from ../src/gallium/drivers/nouveau/nv50/nv50_context.h:13, from ../src/gallium/drivers/nouveau/nv50/nv50_tex.c:23: ../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 [63/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_transfer.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_transfer.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_transfer.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_transfer.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_transfer.c.o -c ../src/gallium/drivers/nouveau/nv50/nv50_transfer.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv50/nv50_winsys.h:11, from ../src/gallium/drivers/nouveau/nv50/nv50_context.h:13, from ../src/gallium/drivers/nouveau/nv50/nv50_transfer.c:4: ../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 [64/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_vbo.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_vbo.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_vbo.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_vbo.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_vbo.c.o -c ../src/gallium/drivers/nouveau/nv50/nv50_vbo.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv50/nv50_winsys.h:11, from ../src/gallium/drivers/nouveau/nv50/nv50_context.h:13, from ../src/gallium/drivers/nouveau/nv50/nv50_vbo.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 [65/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv84_video_bsp.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv84_video_bsp.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv84_video_bsp.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv84_video_bsp.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv84_video_bsp.c.o -c ../src/gallium/drivers/nouveau/nv50/nv84_video_bsp.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv50/nv50_winsys.h:11, from ../src/gallium/drivers/nouveau/nv50/nv50_context.h:13, from ../src/gallium/drivers/nouveau/nv50/nv84_video.h:34, from ../src/gallium/drivers/nouveau/nv50/nv84_video_bsp.c:23: ../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 [66/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv84_video.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv84_video.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv84_video.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv84_video.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv84_video.c.o -c ../src/gallium/drivers/nouveau/nv50/nv84_video.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv50/nv50_winsys.h:11, from ../src/gallium/drivers/nouveau/nv50/nv50_context.h:13, from ../src/gallium/drivers/nouveau/nv50/nv84_video.h:34, from ../src/gallium/drivers/nouveau/nv50/nv84_video.c:32: ../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/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv84_video_vp.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv84_video_vp.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv84_video_vp.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv84_video_vp.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv84_video_vp.c.o -c ../src/gallium/drivers/nouveau/nv50/nv84_video_vp.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv50/nv50_winsys.h:11, from ../src/gallium/drivers/nouveau/nv50/nv50_context.h:13, from ../src/gallium/drivers/nouveau/nv50/nv84_video.h:34, from ../src/gallium/drivers/nouveau/nv50/nv84_video_vp.c:23: ../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/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv98_video_bsp.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv98_video_bsp.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv98_video_bsp.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv98_video_bsp.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv98_video_bsp.c.o -c ../src/gallium/drivers/nouveau/nv50/nv98_video_bsp.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv50/nv50_winsys.h:11, from ../src/gallium/drivers/nouveau/nv50/nv50_context.h:13, from ../src/gallium/drivers/nouveau/nv50/nv98_video.h:23, from ../src/gallium/drivers/nouveau/nv50/nv98_video_bsp.c:23: ../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 [69/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv98_video.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv98_video.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv98_video.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv98_video.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv98_video.c.o -c ../src/gallium/drivers/nouveau/nv50/nv98_video.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv50/nv50_winsys.h:11, from ../src/gallium/drivers/nouveau/nv50/nv50_context.h:13, from ../src/gallium/drivers/nouveau/nv50/nv98_video.h:23, from ../src/gallium/drivers/nouveau/nv50/nv98_video.c:23: ../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 [70/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv98_video_ppp.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv98_video_ppp.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv98_video_ppp.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv98_video_ppp.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv98_video_ppp.c.o -c ../src/gallium/drivers/nouveau/nv50/nv98_video_ppp.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv50/nv50_winsys.h:11, from ../src/gallium/drivers/nouveau/nv50/nv50_context.h:13, from ../src/gallium/drivers/nouveau/nv50/nv98_video.h:23, from ../src/gallium/drivers/nouveau/nv50/nv98_video_ppp.c:23: ../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 [71/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv98_video_vp.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv98_video_vp.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv98_video_vp.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv98_video_vp.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv98_video_vp.c.o -c ../src/gallium/drivers/nouveau/nv50/nv98_video_vp.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv50/nv50_winsys.h:11, from ../src/gallium/drivers/nouveau/nv50/nv50_context.h:13, from ../src/gallium/drivers/nouveau/nv50/nv98_video.h:23, from ../src/gallium/drivers/nouveau/nv50/nv98_video_vp.c:23: ../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 [72/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_qmda0c0.c.o [73/193] Compiling C object src/gallium/drivers/panfrost/libpanfrost.a.p/pan_resource.c.o FAILED: src/gallium/drivers/panfrost/libpanfrost.a.p/pan_resource.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/panfrost/libpanfrost.a.p -Isrc/gallium/drivers/panfrost -I../src/gallium/drivers/panfrost -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Iinclude -I../include -Isrc -I../src -Isrc/panfrost -I../src/panfrost -I../src/panfrost/include -Isrc/panfrost/shared -I../src/panfrost/shared -Isrc/panfrost/midgard -I../src/panfrost/midgard -Isrc/panfrost/bifrost -I../src/panfrost/bifrost -Isrc/panfrost/lib -I../src/panfrost/lib -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -Werror=pointer-arith -DGALLIUM_PANFROST -Wno-pointer-arith -MD -MQ src/gallium/drivers/panfrost/libpanfrost.a.p/pan_resource.c.o -MF src/gallium/drivers/panfrost/libpanfrost.a.p/pan_resource.c.o.d -o src/gallium/drivers/panfrost/libpanfrost.a.p/pan_resource.c.o -c ../src/gallium/drivers/panfrost/pan_resource.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/panfrost/pan_resource.h:36, from ../src/gallium/drivers/panfrost/pan_context.h:32, from ../src/gallium/drivers/panfrost/pan_resource.c:47: ../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/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/panfrost/pan_resource.h:36, from ../src/gallium/drivers/panfrost/pan_context.h:32, from ../src/gallium/drivers/panfrost/pan_resource.c:47: ../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 [74/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_state.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_state.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_state.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_state.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_state.c.o -c ../src/gallium/drivers/nouveau/nv50/nv50_state.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv50/nv50_winsys.h:11, from ../src/gallium/drivers/nouveau/nv50/nv50_context.h:13, from ../src/gallium/drivers/nouveau/nv50/nv50_state.c:34: ../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/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv50/nv50_winsys.h:11, from ../src/gallium/drivers/nouveau/nv50/nv50_context.h:13, from ../src/gallium/drivers/nouveau/nv50/nv50_state.c:34: ../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 [75/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_qmdc0c0.c.o [76/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_qmdc3c0.c.o [77/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_context.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_context.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_context.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_context.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_context.c.o -c ../src/gallium/drivers/nouveau/nvc0/nvc0_context.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nvc0/nvc0_winsys.h:11, from ../src/gallium/drivers/nouveau/nvc0/nvc0_context.h:14, from ../src/gallium/drivers/nouveau/nvc0/nvc0_context.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 [78/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_formats.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_formats.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_formats.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_formats.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_formats.c.o -c ../src/gallium/drivers/nouveau/nvc0/nvc0_formats.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nvc0/nvc0_winsys.h:11, from ../src/gallium/drivers/nouveau/nvc0/nvc0_screen.h:11, from ../src/gallium/drivers/nouveau/nv50/nv50_formats.c:24, from ../src/gallium/drivers/nouveau/nvc0/nvc0_formats.c:25: ../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 [79/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_compute.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_compute.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_compute.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_compute.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_compute.c.o -c ../src/gallium/drivers/nouveau/nvc0/nvc0_compute.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nvc0/nvc0_winsys.h:11, from ../src/gallium/drivers/nouveau/nvc0/nvc0_context.h:14, from ../src/gallium/drivers/nouveau/nvc0/nvc0_compute.c:25: ../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 [80/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_resource.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_resource.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_resource.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_resource.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_resource.c.o -c ../src/gallium/drivers/nouveau/nvc0/nvc0_resource.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv50/nv50_resource.h:9, from ../src/gallium/drivers/nouveau/nvc0/nvc0_resource.h:5, from ../src/gallium/drivers/nouveau/nvc0/nvc0_resource.c:4: ../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 [81/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_shader_state.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_shader_state.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_shader_state.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_shader_state.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_shader_state.c.o -c ../src/gallium/drivers/nouveau/nvc0/nvc0_shader_state.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nvc0/nvc0_winsys.h:11, from ../src/gallium/drivers/nouveau/nvc0/nvc0_context.h:14, from ../src/gallium/drivers/nouveau/nvc0/nvc0_shader_state.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 [82/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_query_hw_metric.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_query_hw_metric.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_query_hw_metric.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_query_hw_metric.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_query_hw_metric.c.o -c ../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nvc0/nvc0_winsys.h:11, from ../src/gallium/drivers/nouveau/nvc0/nvc0_context.h:14, from ../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:23: ../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 [83/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_query_hw_sm.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_query_hw_sm.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_query_hw_sm.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_query_hw_sm.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_query_hw_sm.c.o -c ../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_sm.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nvc0/nvc0_winsys.h:11, from ../src/gallium/drivers/nouveau/nvc0/nvc0_context.h:14, from ../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_sm.c:26: ../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 [84/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_query_sw.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_query_sw.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_query_sw.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_query_sw.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_query_sw.c.o -c ../src/gallium/drivers/nouveau/nvc0/nvc0_query_sw.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nvc0/nvc0_winsys.h:11, from ../src/gallium/drivers/nouveau/nvc0/nvc0_context.h:14, from ../src/gallium/drivers/nouveau/nvc0/nvc0_query_sw.c:24: ../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 [85/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nvfx_vertprog.c.o [86/193] Generating shared_glapi_mapi_tmp.h with a custom command (wrapped by meson to capture output) [87/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nvfx_fragprog.c.o [88/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_screen.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_screen.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_screen.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_screen.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_screen.c.o -c ../src/gallium/drivers/nouveau/nvc0/nvc0_screen.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nvc0/nvc0_winsys.h:11, from ../src/gallium/drivers/nouveau/nvc0/nvc0_context.h:14, from ../src/gallium/drivers/nouveau/nvc0/nvc0_screen.c:35: ../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 [89/193] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_state.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_state.c.o /tmp/instance-4/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-4/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -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.0.3"' '-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 -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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_state.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_state.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_state.c.o -c ../src/gallium/drivers/nouveau/nvc0/nvc0_state.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nvc0/nvc0_winsys.h:11, from ../src/gallium/drivers/nouveau/nvc0/nvc0_context.h:14, from ../src/gallium/drivers/nouveau/nvc0/nvc0_state.c:34: ../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/gallium/auxiliary/util/u_range.h:40, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nvc0/nvc0_winsys.h:11, from ../src/gallium/drivers/nouveau/nvc0/nvc0_context.h:14, from ../src/gallium/drivers/nouveau/nvc0/nvc0_state.c:34: ../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 [90/193] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_lowering_helper.cpp.o [91/193] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_util.cpp.o [92/193] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_target_gm107.cpp.o [93/193] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_lowering_gv100.cpp.o [94/193] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_target_nv50.cpp.o [95/193] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_target.cpp.o [96/193] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_serialize.cpp.o [97/193] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_print.cpp.o [98/193] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_graph.cpp.o [99/193] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_bb.cpp.o [100/193] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_target_gv100.cpp.o [101/193] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_build_util.cpp.o [102/193] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_ssa.cpp.o [103/193] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_target_nvc0.cpp.o [104/193] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_from_common.cpp.o [105/193] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_lowering_gm107.cpp.o [106/193] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_emit_nv50.cpp.o [107/193] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_emit_gv100.cpp.o [108/193] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_emit_gk110.cpp.o [109/193] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_lowering_nv50.cpp.o [110/193] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir.cpp.o [111/193] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_emit_nvc0.cpp.o [112/193] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_emit_gm107.cpp.o [113/193] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_peephole.cpp.o [114/193] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_lowering_nvc0.cpp.o [115/193] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_ra.cpp.o [116/193] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_from_nir.cpp.o [117/193] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_from_tgsi.cpp.o ../src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp: In member function 'bool nv50_ir::Program::makeFromTGSI(nv50_ir_prog_info*, nv50_ir_prog_info_out*)': ../src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp:3418:22: warning: 'src1' may be used uninitialized in this function [-Wmaybe-uninitialized] 3418 | geni = mkOp3(op, dstTy, dst0[c], fetchSrc(0, c), src1, mkImm(0x1f)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp:3122:18: note: 'src1' was declared here 3122 | Value *src0, *src1, *src2, *src3; | ^~~~ ../src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp:3271:15: warning: 'val1' may be used uninitialized in this function [-Wmaybe-uninitialized] 3271 | mkOp1(OP_EX2, TYPE_F32, dst0[1], val1); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp:3123:18: note: 'val1' was declared here 3123 | Value *val0, *val1; | ^~~~ ninja: build stopped: subcommand failed. make: *** [package/pkg-generic.mk:250: /tmp/instance-4/output-1/build/mesa3d-21.0.3/.stamp_built] Error 1 make: Leaving directory '/tmp/instance-4/buildroot'