You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Building 1.5.0 or master (same) for x86 results in a failing test:
$ ./configure --prefix=/usr --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --target=i686-pc-linux-gnu --disable-programs CC="gcc -m32" CXX="g++ -m32" CFLAGS="-O2" CXXFLAGS="-O2" && make && make check
[...]
round-trip test (rt-8-12-1.aiff) encode... decode... compare... OK
round-trip test (rt-8-12-111.aiff) encode... decode... compare... OK
round-trip test (rt-8-12-4777.aiff) encode... decode... compare... OK
round-trip test (rt-8-16-1.aiff) encode... decode... compare... OK
round-trip test (rt-8-16-111.aiff) encode... decode... compare... OK
round-trip test (rt-8-16-4777.aiff) encode... decode... compare... OK
round-trip test (rt-8-20-1.aiff) encode... decode... compare... OK
round-trip test (rt-8-20-111.aiff) encode... decode... compare... OK
round-trip test (rt-8-20-4777.aiff) encode... decode... compare... OK
round-trip test (rt-8-24-1.aiff) encode... decode... compare... OK
round-trip test (rt-8-24-111.aiff) encode... decode... compare... OK
round-trip test (rt-8-24-4777.aiff) encode... decode... compare... OK
round-trip test (rt-8-8-1.aiff) encode... decode... compare... OK
round-trip test (rt-8-8-111.aiff) encode... decode... compare... OK
round-trip test (rt-8-8-4777.aiff) encode... decode... compare... OK
round-trip test (rt-1-12-1.aifc) encode... decode... compare... rt-1-12-1.aifc rt.aifc differ: char 8, line 1
ERROR: file mismatch
make[1]: *** [Makefile:716: check] Error 1
make[1]: Leaving directory '/home/sam/git/flac/test'
make: *** [Makefile:503: check-recursive] Error 1
I suppose the actual difference is from write_iff.pl:
if ($formateq'aiff') {
die"sample data too big for format\n"if 46 + $datasize + $padding > 4294967295;
# headerprint"FORM";
printpack('N', 46 + $datasize + $padding);
print"AIFF";
# COMM chunkprint"COMM";
What I don't yet see is how that relates to --disable-programs at all.
Oh, it's because with --disable-programs, it uses the system flac instead (rather than either always building the program for the tests but not installing it or skipping the tests).
We currently use --disable-programs for the multilib build in our packaging but we still want to test it if possible, while avoiding mutating the image / installed files based on whether tests are enabled.
Building 1.5.0 or master (same) for x86 results in a failing test:
Logs above are w/ GCC 15 (unreleased) but I see the same w/ GCC 14 and 13.
The testsuite passes for amd64 (so dropping
-m32
) or if I drop--disable-programs
.The text was updated successfully, but these errors were encountered: