NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: toolchain/52857: cannot run dynamically linked mips n64 binaries



The following reply was made to PR toolchain/52857; it has been noted by GNATS.

From: matthew green <mrg%eterna.com.au@localhost>
To: gnats-bugs%NetBSD.org@localhost, gnats-admin%netbsd.org@localhost,
    netbsd-bugs%netbsd.org@localhost
Cc: 
Subject: Re: toolchain/52857: cannot run dynamically linked mips n64 binaries 
Date: Thu, 04 Feb 2021 20:22:22 +1100

 i noticed that you can trigger this problem quite simply:
 
 transitions ~> cat hello.c
 #include <stdio.h>
 int main() {
         printf("hello world\n");
         return 0;
 }
 transitions ~> cc -mabi=64 hello.c
 transitions ~> ./a.out
 hello world
 transitions ~> cc -mabi=64 hello.c -lcrypto
 transitions ~> ./a.out
 Segmentation fault (core dumped)
 
 it does not happen with -ltermcap.
 
 i don't have any more info or idea what is wrong here, but
 the above seems like a useful data point for this PR.
 
 
 .mrg.
 


Home | Main Index | Thread Index | Old Index