Closed tech189 closed 2 years ago
Hi, I'm happy that fclones works for you on Windows 11, even though I haven't ever tested it there (I don't even have a windows 11 machine at the moment).
Unfortunately something recently broke in my compiler toolchain and I can't link fclones windows executable:
= note: /usr/bin/x86_64-w64-mingw32-ld: /home/pkolaczk/.cargo/target/x86_64-pc-windows-gnu/release/deps/fclones-d12c4d8d8ba154f5.fclones.9c8d1f18-cgu.7.rcgu.o:fclones.9c8d1f18-c:(.text+0x2793): undefined reference to `__imp__ZN7console5utils13STDOUT_COLORS17hbc3775f7f7eaf6f9E'
/usr/bin/x86_64-w64-mingw32-ld: /home/pkolaczk/.cargo/target/x86_64-pc-windows-gnu/release/deps/fclones-d12c4d8d8ba154f5.fclones.9c8d1f18-cgu.7.rcgu.o:fclones.9c8d1f18-c:(.text+0x27ac): undefined reference to `__imp__ZN7console5utils13STDOUT_COLORS17hbc3775f7f7eaf6f9E'
/usr/bin/x86_64-w64-mingw32-ld: /home/pkolaczk/.cargo/target/x86_64-pc-windows-gnu/release/deps/fclones-d12c4d8d8ba154f5.fclones.9c8d1f18-cgu.7.rcgu.o:fclones.9c8d1f18-c:(.text+0x27b5): undefined reference to `__imp__ZN7console5utils13STDERR_COLORS17hc401159538f8c378E'
/usr/bin/x86_64-w64-mingw32-ld: /home/pkolaczk/.cargo/target/x86_64-pc-windows-gnu/release/deps/fclones-d12c4d8d8ba154f5.fclones.9c8d1f18-cgu.7.rcgu.o:fclones.9c8d1f18-c:(.text+0x27ce): undefined reference to `__imp__ZN7console5utils13STDOUT_COLORS17hbc3775f7f7eaf6f9E'
/usr/bin/x86_64-w64-mingw32-ld: /home/pkolaczk/.cargo/target/x86_64-pc-windows-gnu/release/deps/fclones-d12c4d8d8ba154f5.fclones.9c8d1f18-cgu.7.rcgu.o:fclones.9c8d1f18-c:(.text+0x27d7): undefined reference to `__imp__ZN7console5utils13STDERR_COLORS17hc401159538f8c378E'
/usr/bin/x86_64-w64-mingw32-ld: /home/pkolaczk/.cargo/target/x86_64-pc-windows-gnu/release/deps/fclones-d12c4d8d8ba154f5.fclones.9c8d1f18-cgu.7.rcgu.o:fclones.9c8d1f18-c:(.text+0x27ec): undefined reference to `__imp__ZN7console5utils13STDERR_COLORS17hc401159538f8c378E'
/usr/bin/x86_64-w64-mingw32-ld: /home/pkolaczk/.cargo/target/x86_64-pc-windows-gnu/release/deps/fclones-d12c4d8d8ba154f5.fclones.9c8d1f18-cgu.7.rcgu.o:fclones.9c8d1f18-c:(.text+0x2cc3): undefined reference to `__imp__ZN7console5utils13STDOUT_COLORS17hbc3775f7f7eaf6f9E'
/usr/bin/x86_64-w64-mingw32-ld: /home/pkolaczk/.cargo/target/x86_64-pc-windows-gnu/release/deps/fclones-d12c4d8d8ba154f5.fclones.9c8d1f18-cgu.7.rcgu.o:fclones.9c8d1f18-c:(.text+0x2cdc): undefined reference to `__imp__ZN7console5utils13STDOUT_COLORS17hbc3775f7f7eaf6f9E'
/usr/bin/x86_64-w64-mingw32-ld: /home/pkolaczk/.cargo/target/x86_64-pc-windows-gnu/release/deps/fclones-d12c4d8d8ba154f5.fclones.9c8d1f18-cgu.7.rcgu.o:fclones.9c8d1f18-c:(.text+0x2ce5): undefined reference to `__imp__ZN7console5utils13STDERR_COLORS17hc401159538f8c378E'
/usr/bin/x86_64-w64-mingw32-ld: /home/pkolaczk/.cargo/target/x86_64-pc-windows-gnu/release/deps/fclones-d12c4d8d8ba154f5.fclones.9c8d1f18-cgu.7.rcgu.o:fclones.9c8d1f18-c:(.text+0x2cfe): undefined reference to `__imp__ZN7console5utils13STDOUT_COLORS17hbc3775f7f7eaf6f9E'
/usr/bin/x86_64-w64-mingw32-ld: /home/pkolaczk/.cargo/target/x86_64-pc-windows-gnu/release/deps/fclones-d12c4d8d8ba154f5.fclones.9c8d1f18-cgu.7.rcgu.o:fclones.9c8d1f18-c:(.text+0x2d07): undefined reference to `__imp__ZN7console5utils13STDERR_COLORS17hc401159538f8c378E'
/usr/bin/x86_64-w64-mingw32-ld: /home/pkolaczk/.cargo/target/x86_64-pc-windows-gnu/release/deps/fclones-d12c4d8d8ba154f5.fclones.9c8d1f18-cgu.7.rcgu.o:fclones.9c8d1f18-c:(.text+0x2d1c): undefined reference to `__imp__ZN7console5utils13STDERR_COLORS17hc401159538f8c378E'
/usr/bin/x86_64-w64-mingw32-ld: /home/pkolaczk/.cargo/target/x86_64-pc-windows-gnu/release/deps/fclones-d12c4d8d8ba154f5.fclones.9c8d1f18-cgu.7.rcgu.o:fclones.9c8d1f18-c:(.text+0x3203): undefined reference to `__imp__ZN7console5utils13STDOUT_COLORS17hbc3775f7f7eaf6f9E'
/usr/bin/x86_64-w64-mingw32-ld: /home/pkolaczk/.cargo/target/x86_64-pc-windows-gnu/release/deps/fclones-d12c4d8d8ba154f5.fclones.9c8d1f18-cgu.7.rcgu.o:fclones.9c8d1f18-c:(.text+0x321c): undefined reference to `__imp__ZN7console5utils13STDOUT_COLORS17hbc3775f7f7eaf6f9E'
/usr/bin/x86_64-w64-mingw32-ld: /home/pkolaczk/.cargo/target/x86_64-pc-windows-gnu/release/deps/fclones-d12c4d8d8ba154f5.fclones.9c8d1f18-cgu.7.rcgu.o:fclones.9c8d1f18-c:(.text+0x3225): undefined reference to `__imp__ZN7console5utils13STDERR_COLORS17hc401159538f8c378E'
/usr/bin/x86_64-w64-mingw32-ld: /home/pkolaczk/.cargo/target/x86_64-pc-windows-gnu/release/deps/fclones-d12c4d8d8ba154f5.fclones.9c8d1f18-cgu.7.rcgu.o:fclones.9c8d1f18-c:(.text+0x323e): undefined reference to `__imp__ZN7console5utils13STDOUT_COLORS17hbc3775f7f7eaf6f9E'
/usr/bin/x86_64-w64-mingw32-ld: /home/pkolaczk/.cargo/target/x86_64-pc-windows-gnu/release/deps/fclones-d12c4d8d8ba154f5.fclones.9c8d1f18-cgu.7.rcgu.o:fclones.9c8d1f18-c:(.text+0x3247): undefined reference to `__imp__ZN7console5utils13STDERR_COLORS17hc401159538f8c378E'
/usr/bin/x86_64-w64-mingw32-ld: /home/pkolaczk/.cargo/target/x86_64-pc-windows-gnu/release/deps/fclones-d12c4d8d8ba154f5.fclones.9c8d1f18-cgu.7.rcgu.o:fclones.9c8d1f18-c:(.text+0x325c): undefined reference to `__imp__ZN7console5utils13STDERR_COLORS17hc401159538f8c378E'
So far I tried reinstalling mingw but it didn't help. Neither it works in the docker image. Any ideas?
Figured this out. Somehow LTO broke this. After disabling LTO it builds fine.
Thanks! 0.19.0 works great.
Hi, fclones 0.18.0 works great for me on Windows 11! Just wondering, will you continue to release zips for Windows? The last two versions seem to be missing from the releases page.