Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 725728 - sys-boot/arcload-0.50-r3 fails to compile: ../arclib/stdint.h:37:24: error: conflicting types for ‘int64_t’
Summary: sys-boot/arcload-0.50-r3 fails to compile: ../arclib/stdint.h:37:24: error: c...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: MIPS Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-28 07:14 UTC by Agostino Sarubbo
Modified: 2022-01-17 00:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,9.13 KB, text/plain)
2020-05-28 07:14 UTC, Agostino Sarubbo
Details
arcload builds fine on a mips system (mips-arcload-builds-fine-20220116.txt,17.66 KB, text/plain)
2022-01-17 00:14 UTC, Joshua Kinard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-05-28 07:14:37 UTC
This is an auto-filed bug because sys-boot/arcload fails to compile.
The issue was originally discovered on amd64, but it may be reproducible on other arches as well.
If you think that a different summary clarifies the issue better, feel free to change it.
Attached build log and emerge --info.

NOTE:
If you need further logs, feel free to ask.
Comment 1 Agostino Sarubbo gentoo-dev 2020-05-28 07:14:42 UTC
Created attachment 642168 [details]
build.log

build log and emerge --info
Comment 2 Joshua Kinard gentoo-dev 2022-01-17 00:13:28 UTC
sys-boot/arcload is a bootloader for mips64 platforms, specifically SGI machines (IP22/IP27/IP28/IP30/IP32).  It is not expected to fully compile on any other architecture.  The build process involves creating two arcload binaries, one for 32-bit platforms (IP22/IP32) and one for 64-bit platforms (IP27/IP28/IP30), as well as a small helper utility, wreckoff.

The build failure you are highlighting is during wreckoff's compile, and this is expected on a non-MIPS platform.  wreckoff is used to make adjustments in the 32-bit arcload binary to correct several trampoline bugs that can happen due to compiler quirks, and it then converts that 32-bit arcload binary from ELF to an older ECOFF format, which is expected by the 32-bit PROMs running on IP22/IP32 platforms (primarily for those machines with super-old PROMs that don't recognize ELF).

The package fully compiles on a mips64/SGI IP30 system and I will attach a build log documenting this.

Resolving as INVALID.
Comment 3 Joshua Kinard gentoo-dev 2022-01-17 00:14:44 UTC
Created attachment 762375 [details]
arcload builds fine on a mips system
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-01-17 00:23:14 UTC
Yeah, it's -* so tinderbox should avoid it.
Comment 5 Joshua Kinard gentoo-dev 2022-01-17 00:34:54 UTC
(In reply to Sam James from comment #4)
> Yeah, it's -* so tinderbox should avoid it.

It apparently isn't, so I left the lengthy note in c#2 for future reference, in case someone stumbles across this again.
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-01-17 00:40:42 UTC
yeah, just noting there's probably a bug in agos scripts here, not that your comment was redundant