pkgconf - still not building with MIPSPro
#11
RE: pkgconf - still not building with MIPSPro
Ok, that makes sense.  The IRIX compiler isn't properly parsing all those nested structs.  Un-nesting them will help:

Code:
static pkg_tuple_t data = {
    .key = "pc_path",
};

static pkg_node_t head = {
    .prev = NULL,
    .next = NULL,
    .data = &data,
};

static pkg_list_t vars = {
    .head = &head,
    .tail = NULL,
};

static pkg_t pkg_config_virtual = {
    .id = "pkg-config",
    .realname = "pkg-config",
    .description = "virtual package defining pkg-config API version supported",
    .url = PACKAGE_BUGREPORT,
    .version = PKG_PKGCONFIG_VERSION_EQUIV,
    .flags = PKG_PROPF_VIRTUAL,
    .vars = &vars,
};

That will compile with MIPSPro.

SGI:  Indigo, Indigo2, Octane, Origin 300
Sun:  SPARCstation 20 (x4), Ultra 2, Blade 2500, T5240
HP:  9000/380, 425e, C8000
Digital: DECstation 5000/125, PWS 600au
jpstewart
Developer

Trade Count: (1)
Posts: 444
Threads: 6
Joined: May 2018
Location: SW Ontario, CA
Find Reply
05-07-2021, 03:24 PM
#12
RE: pkgconf - still not building with MIPSPro
Update:  the package tests all fail due to using shell syntax not supported by /bin/sh on IRIX.  I used Bash instead to run the testsuite and ALL tests passed.

SGI:  Indigo, Indigo2, Octane, Origin 300
Sun:  SPARCstation 20 (x4), Ultra 2, Blade 2500, T5240
HP:  9000/380, 425e, C8000
Digital: DECstation 5000/125, PWS 600au
jpstewart
Developer

Trade Count: (1)
Posts: 444
Threads: 6
Joined: May 2018
Location: SW Ontario, CA
Find Reply
05-07-2021, 08:28 PM
#13
RE: pkgconf - still not building with MIPSPro
Nice lemme see if I can get later versions building now and I'll find a stable version to fork and keep in our own repo.

I'm the system admin of this site. Private security technician, licensed locksmith, hack of a c developer and vintage computer enthusiast. 

https://contrib.irixnet.org/raion/ -- contributions and pieces that I'm working on currently. 

https://codeberg.org/SolusRaion -- Code repos I control

Technical problems should be sent my way.
Raion
Chief IRIX Officer

Trade Count: (9)
Posts: 4,240
Threads: 533
Joined: Nov 2017
Location: Eastern Virginia
Website Find Reply
05-07-2021, 09:15 PM
#14
RE: pkgconf - still not building with MIPSPro
I had to put PACKAGE_BUGREPORT in double quotes for it to work, but otherwise yep, flawless. I'll be applying similar patches to later versions and trying them out as well. Thank you for your hard work as always in helping me figure this out.

I'm the system admin of this site. Private security technician, licensed locksmith, hack of a c developer and vintage computer enthusiast. 

https://contrib.irixnet.org/raion/ -- contributions and pieces that I'm working on currently. 

https://codeberg.org/SolusRaion -- Code repos I control

Technical problems should be sent my way.
Raion
Chief IRIX Officer

Trade Count: (9)
Posts: 4,240
Threads: 533
Joined: Nov 2017
Location: Eastern Virginia
Website Find Reply
05-08-2021, 12:51 AM


Forum Jump:


Users browsing this thread: 1 Guest(s)