Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 7670] New: Fails to build mpc-1.0.2 on latest Cygwin
@ 2014-11-20  8:43 bugzilla at busybox.net
  2014-11-20  8:44 ` [Buildroot] [Bug 7670] " bugzilla at busybox.net
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2014-11-20  8:43 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=7670

           Summary: Fails to build mpc-1.0.2 on latest Cygwin
           Product: buildroot
           Version: 2014.08
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
        AssignedTo: unassigned at buildroot.uclibc.org
        ReportedBy: me21 at yandex.ru
                CC: buildroot at uclibc.org
   Estimated Hours: 0.0


The build process on Cygwin stops and says that C compiler cannot create
executables when it tries to build mpc-1.0.2 as a prerequisite for
cross-compiling gcc.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [Bug 7670] Fails to build mpc-1.0.2 on latest Cygwin
  2014-11-20  8:43 [Buildroot] [Bug 7670] New: Fails to build mpc-1.0.2 on latest Cygwin bugzilla at busybox.net
@ 2014-11-20  8:44 ` bugzilla at busybox.net
  2014-11-20  8:48 ` bugzilla at busybox.net
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2014-11-20  8:44 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=7670

--- Comment #1 from Alexandr Zarubkin <me21@yandex.ru> 2014-11-20 08:44:38 UTC ---
This happens during default build for Olinuxino-imx233 board.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [Bug 7670] Fails to build mpc-1.0.2 on latest Cygwin
  2014-11-20  8:43 [Buildroot] [Bug 7670] New: Fails to build mpc-1.0.2 on latest Cygwin bugzilla at busybox.net
  2014-11-20  8:44 ` [Buildroot] [Bug 7670] " bugzilla at busybox.net
@ 2014-11-20  8:48 ` bugzilla at busybox.net
  2014-11-20 10:48 ` bugzilla at busybox.net
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2014-11-20  8:48 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=7670

--- Comment #2 from Alexandr Zarubkin <me21@yandex.ru> 2014-11-20 08:48:59 UTC ---
The message in log is: "error while loading shared libraries: ?: cannot open
shared object file: No such file or directory"

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [Bug 7670] Fails to build mpc-1.0.2 on latest Cygwin
  2014-11-20  8:43 [Buildroot] [Bug 7670] New: Fails to build mpc-1.0.2 on latest Cygwin bugzilla at busybox.net
  2014-11-20  8:44 ` [Buildroot] [Bug 7670] " bugzilla at busybox.net
  2014-11-20  8:48 ` bugzilla at busybox.net
@ 2014-11-20 10:48 ` bugzilla at busybox.net
  2014-11-21 23:36 ` bugzilla at busybox.net
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2014-11-20 10:48 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=7670

--- Comment #3 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 2014-11-20 10:48:01 UTC ---
Clearly, building under Cygwin has basically never been tested, it's currently
not part of the platforms we support, and we never had contributions around
this.

If you're interested in supporting running Buildroot on Cygwin, then you'll
have to investigate the various issues, and contribute fixes back to the
upstream Buildroot. None of the Buildroot core developers are using Buildroot
on Cygwin today.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [Bug 7670] Fails to build mpc-1.0.2 on latest Cygwin
  2014-11-20  8:43 [Buildroot] [Bug 7670] New: Fails to build mpc-1.0.2 on latest Cygwin bugzilla at busybox.net
                   ` (2 preceding siblings ...)
  2014-11-20 10:48 ` bugzilla at busybox.net
@ 2014-11-21 23:36 ` bugzilla at busybox.net
  2014-11-22  8:51 ` bugzilla at busybox.net
  2014-11-22 10:43 ` bugzilla at busybox.net
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2014-11-21 23:36 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=7670

Yann E. MORIN <yann.morin.1998@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |yann.morin.1998 at free.fr
         Resolution|                            |WONTFIX

--- Comment #4 from Yann E. MORIN <yann.morin.1998@free.fr> 2014-11-21 23:36:55 UTC ---
Ok, I toyed with a Win7 VM here, struggled to install it and install Cygwin.

Running Buildroot git master indeed breaks for me.

As it turns out, Cygwin is horribly broken, and there is no way we can even
remotely support this...

So, here's how it goes:
  - in Cygwin, it is customary to install libs at the same place executables
are installed;
  - so, in Cygwin, libraries are searched in ${PATH}, as well as the usual
other places;
  - the native compiler is linked with cygmpfr-4.dll;
  - we build and install mpfr (dependency of mpc) which install cygmpfr-4.dll
in $(O)/host/usr/bin/cygmpfr-4.dll ;
  - we have $(O)/host/usr/bin is ${PATH} because, well, we need it,
obviously...

So, when we try to run the native compiler, it tries to run-time link with
*our* cygmpfr.dll, not the system one.

Bummer, it breaks...

OK, did I say we're not gonna support that use-case?

Better install a real Linux box; a VM might even be faster than Cygwin...

Closing as WONTFIX.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [Bug 7670] Fails to build mpc-1.0.2 on latest Cygwin
  2014-11-20  8:43 [Buildroot] [Bug 7670] New: Fails to build mpc-1.0.2 on latest Cygwin bugzilla at busybox.net
                   ` (3 preceding siblings ...)
  2014-11-21 23:36 ` bugzilla at busybox.net
@ 2014-11-22  8:51 ` bugzilla at busybox.net
  2014-11-22 10:43 ` bugzilla at busybox.net
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2014-11-22  8:51 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=7670

--- Comment #5 from Alexandr Zarubkin <me21@yandex.ru> 2014-11-22 08:51:14 UTC ---
I found the workaround: place original cygmpfr-4.dll (or link to it) to
/usr/lib/gcc/i686-pc-cygwin/4.8.3 directory. Then the build process continues.

Yann, Thomas, does the unsupported status of Cygwin mean that no bugs against
this build configuration should be created? Or may I create them with
workaround if I find one?

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [Bug 7670] Fails to build mpc-1.0.2 on latest Cygwin
  2014-11-20  8:43 [Buildroot] [Bug 7670] New: Fails to build mpc-1.0.2 on latest Cygwin bugzilla at busybox.net
                   ` (4 preceding siblings ...)
  2014-11-22  8:51 ` bugzilla at busybox.net
@ 2014-11-22 10:43 ` bugzilla at busybox.net
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2014-11-22 10:43 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=7670

--- Comment #6 from Yann E. MORIN <yann.morin.1998@free.fr> 2014-11-22 10:43:26 UTC ---
Well, the workaround is just that, and probably the build will just fail
further on.

And it's not just cygmpfr-4.dll that is at fault here: in my minimal Cygwin
install, there are 101 DLLs in /bin and there is *no* DLL in /lib or /usr/lib.
So you'd have problems one after the other anyway: after mpfr, that'll be mpc,
and you'd have to move your host mpc DLL too. Then what?

We can not tell people to break their host system (like, moving DLLs around) to
be able to run Buildroot. Working around this problem the way you did is just
not sustainable in the long run.

Cygwin is broken, we can not run on Cygwin.

So, no, I'm afraid we won't accept bug reports about running Cygwin.

As I said previously: get yourself a Linux machine. A VM would do OK, and might
even be faster than Cygwin.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-11-22 10:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-20  8:43 [Buildroot] [Bug 7670] New: Fails to build mpc-1.0.2 on latest Cygwin bugzilla at busybox.net
2014-11-20  8:44 ` [Buildroot] [Bug 7670] " bugzilla at busybox.net
2014-11-20  8:48 ` bugzilla at busybox.net
2014-11-20 10:48 ` bugzilla at busybox.net
2014-11-21 23:36 ` bugzilla at busybox.net
2014-11-22  8:51 ` bugzilla at busybox.net
2014-11-22 10:43 ` bugzilla at busybox.net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox