5.0.6 builds wrong binary on amd64

40 views
Skip to first unread message

Nuno Teixeira

unread,
Mar 31, 2024, 4:40:29 PM3/31/24
to migrate-support
Hello all,

I'm maintaining migrate port on FreeBSD, https://www.freshports.org/biology/migrate/

5.0.6 builds an arm binary on amd64 arch.
---
migrate-n:          Mach-O 64-bit arm64 executable, flags:<NOUNDEFS|DYLDLINK|TWOLEVEL|BINDS_TO_WEAK|PIE>
migrate-n-mpi:      Mach-O 64-bit arm64 executable, flags:<NOUNDEFS|DYLDLINK|TWOLEVEL|BINDS_TO_WEAK|PIE>
---

Build logs from 5.0.5 and 5.0.6:

Any clues?

Thanks,

Peter Beerli

unread,
Mar 31, 2024, 5:07:40 PM3/31/24
to migrate...@googlegroups.com
Your logs are not sufficient to see what is going on 
could it be that you have a stale migrate-n in there? because the log says this:

===>  Building for migrate-5.0.6
Create the PDF library (libharu 1.x): [linker warnings are OK]
Using system zlib architecture
Compile the main source files and create the threaded executable
`migrate-n' is up to date.
===========================================================================
on your 5.0.5 version compile that same region looks like this

===> Building for migrate-5.0.5
Create the PDF library (libharu 1.x): [linker warnings are OK]
Using system zlib architecture
--- PdfExceptions.o ---
--- PdfList.o ---
--- PdfUtils.o ---
--- PdfStreams.o ---

Did you manipulate the migrate Makefile? I also suggest to not use "make thread" (as the above log “Compile the main source files and create the threaded executable” implies, but the recorded call to ‘make’ does not.
The change from 5.0.5 to 5.0.6 did not involve any parts of the build system (can you compile directly with ./configure;make (outside of your build systems)?

Peter

 


--
You received this message because you are subscribed to the Google Groups "migrate-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to migrate-suppo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/migrate-support/3015e35f-c9d4-45a8-bc14-cb4826656a6an%40googlegroups.com.

Peter Beerli

unread,
Mar 31, 2024, 5:14:17 PM3/31/24
to migrate...@googlegroups.com
I checked my tar file, it unnecessarily included *.o and the migrate-n binary (which is arm)

do a
rm *.o  (and check also the haru directory)
rm migrate-n
rm migrate-n-mpi

then it should work

Peter

Nuno Teixeira

unread,
Mar 31, 2024, 5:41:48 PM3/31/24
to migrate-support
Done and fixed.

Thanks!
Reply all
Reply to author
Forward
0 new messages