[Bug 41158] New: libs/port - error building on NetBSD
https://bugs.winehq.org/show_bug.cgi?id=41158 Bug ID: 41158 Summary: libs/port - error building on NetBSD Product: Wine-staging Version: 1.9.16 Hardware: x86-64 OS: NetBSD Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: adrien_fernandes2(a)hotmail.com CC: erich.e.hoover(a)wine-staging.com, michael(a)fds-team.de, sebastian(a)fds-team.de Created attachment 55379 --> https://bugs.winehq.org/attachment.cgi?id=55379 Compile error in libs/port Hello, First of all, you might know that NetBSD amd64 doesn't have user_ldt yet so MAYBE it is the cause of the compilation error (I have no idea... unfortunately). Even if it builds correctly, I won't be able to use it but I want to continue to maintain the package until we can use it. I didn't apply any patch, I am building wine-staging 1.9.16 from https://github.com/wine-compholio/wine-patched/archive/staging-1.9.16.tar.gz which is already patched. Here is more informations about my OS : NetBSD 7.99.34 (GENERIC.201607240240Z) amd64 It is NetBSD-current. In advance, excuse me if it is not a real issue, if it is because of amd64 or maybe an error from me. Please let me know if you have any question. Adrien. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41158 Sebastian Lackner <sebastian(a)fds-team.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |-unknown Product|Wine-staging |Wine --- Comment #1 from Sebastian Lackner <sebastian(a)fds-team.de> --- This issue does not look Wine Staging related. On the first sight it seems there is something wrong with the way how you are trying to compiling Wine. When I'm correctly interpreting the log you are trying to use a 64-bit compiler (x86_64--netbsd-gcc) to do a 32-bit build (no --enable-win64 passed to ./configure). As a result, Wines ./configure script defines __i386__ so you end up trying to compile 32-bit and 64-bit at the same time. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41158 --- Comment #2 from Alexandre Julliard <julliard(a)winehq.org> --- Without --enable-win64 it should be a fully 32-bit build, but the compiler is apparently still 64-bit, even though we use cc -m32. It looks like a toolchain bug. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41158 --- Comment #3 from Adrien Fernandes <adrien_fernandes2(a)hotmail.com> --- Oh God... That newbie mistake :( I was so used to build in i386 that I totally forgot to enable it ! -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41158 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish(a)gmail.com --- Comment #4 from Austin English <austinenglish(a)gmail.com> --- (In reply to Adrien Fernandes from comment #3)
Oh God... That newbie mistake :( I was so used to build in i386 that I totally forgot to enable it !
So, if you enable i386, does it work? I.e. is this invalid? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41158 --- Comment #5 from Adrien Fernandes <adrien_fernandes2(a)hotmail.com> --- No, in pkgsrc, when you "bootstrapped" in 64 bits, you can NOT build in 32 bits. You have to make a new pkgsrc prefix in 32 bits. I already tried on NetBSD i386 and it perfectly built but I didn't try on NetBSD amd64 to build i386 Wine -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41158 --- Comment #6 from Austin English <austinenglish(a)gmail.com> --- (In reply to Adrien Fernandes from comment #5)
No, in pkgsrc, when you "bootstrapped" in 64 bits, you can NOT build in 32 bits. You have to make a new pkgsrc prefix in 32 bits. I already tried on NetBSD i386 and it perfectly built but I didn't try on NetBSD amd64 to build i386 Wine
Can you attach logs with --enable-win64? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org