Power Global

Power Global

A central meeting place for IBM Power. Connect, ask questions, share ideas, and explore the full spectrum of Power technologies across workloads, industries, and use cases.


#TechXchangePresenter
#Power

 View Only
  • 1.  Golang built binary doesn't work

    Posted Wed March 09, 2022 10:41 AM
    Hello,

    I coded an example golang code and built a binary in a AIX 7.2 server, then copied this binary to other servers. Some of them executed it successfully, some of them gives this error and creates a core dump file.

    "Illegal instruction (core dumped)"

    Versions of operation systems are same, dependent packages exist in all machines with same version. What might cause this?

    Regards.

    ------------------------------
    Mustafa Kemal MAYUK
    ------------------------------


  • 2.  RE: Golang built binary doesn't work

    Posted Fri March 11, 2022 09:55 AM
    It seems LPAR's Power mode causing this issue. Code is built on P8, should run on >=P8 mode.


    ------------------------------
    Mustafa Kemal MAYUK
    ------------------------------



  • 3.  RE: Golang built binary doesn't work

    Posted Mon March 14, 2022 12:35 PM

    Are all your AIX VM/LPARs on the same hardware type like POWER8 or POWER9?

    And are the LPARs all running in the same mode? A HMC setting for the LAPR.

     

    cheers, Nigel