[bug #57781] make broken on MIPS big-endian if posix_spawn() is used

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[bug #57781] make broken on MIPS big-endian if posix_spawn() is used

Bogdan Barbu
URL:
  <https://savannah.gnu.org/bugs/?57781>

                 Summary: make broken on MIPS big-endian if posix_spawn() is
used
                 Project: make
            Submitted by: kumba
            Submitted on: Mon 10 Feb 2020 08:12:50 AM UTC
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: 4.3
        Operating System: POSIX-Based
           Fixed Release: None
           Triage Status: None

    _______________________________________________________

Details:

Hi, discovered a bug on a big-endian MIPS setup where posix_spawn(), added in
make-4.3, doesn't appear to work right.  When make tries to do operations like
executing files, changing directories, calling other programs (e.g., sed),
etc, it fails.  Errors range from "operation not permitted" to "cd: <dir>: not
a directory", to "permission denied".  Tested on both O32 ABI and N32 ABI.
Cannot test little-endian due to lack of hardware.

I eventually worked out that rebuilding make-4.3 with --disable-posix-spawn
results in a working build.  So I am not sure if make's use of posix_spawn is
broken, or if the MIPS implementation in glibc is broken.




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57781>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/


Reply | Threaded
Open this post in threaded view
|

[bug #57781] make broken on MIPS big-endian if posix_spawn() is used

Bogdan Barbu
Follow-up Comment #1, bug #57781 (project make):

<https://sourceware.org/bugzilla/show_bug.cgi?id=25523>

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57781>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/


Reply | Threaded
Open this post in threaded view
|

[bug #57781] make broken on MIPS big-endian if posix_spawn() is used

Bogdan Barbu
Follow-up Comment #2, bug #57781 (project make):

[comment #1 comment #1:]
> <https://sourceware.org/bugzilla/show_bug.cgi?id=25523>

Glibc upstream has marked their bug as fixed, and I can confirm that make-4.3
works on MIPS after rebuilding glibc with the patches.  This bug can be
resolved.  Thanks!

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57781>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/


Reply | Threaded
Open this post in threaded view
|

[bug #57781] make broken on MIPS big-endian if posix_spawn() is used

Bogdan Barbu
Update of bug #57781 (project make):

                  Status:                    None => Not A Bug              
             Open/Closed:                    Open => Closed                

    _______________________________________________________

Follow-up Comment #3:

Thanks all!

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57781>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/