From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9452 invoked by alias); 6 Oct 2015 21:01:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 9013 invoked by uid 48); 6 Oct 2015 21:01:03 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug go/67874] New: fd_unix.go does not build when there is fcntl64 and no fcntl syscall Date: Tue, 06 Oct 2015 21:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ian at airs dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone cf_gcctarget Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-10/txt/msg00458.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67874 Bug ID: 67874 Summary: fd_unix.go does not build when there is fcntl64 and no fcntl syscall Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: go Assignee: ian at airs dot com Reporter: pinskia at gcc dot gnu.org CC: cmang at google dot com Target Milestone: --- Target: aarch64-linux-gnu (ilp32) Since a request from the ARM64 kernel maintainers on the ABI for AARCH64 ILP32 to just use off_t and time_t as 32bit rather than what I originally had it as 64bit, we use the compat syscalls instead which means there is no fcntl syscall only fcntl64 now. This breaks building fd_unix.go which depends on SYS_FCNTL being defined but there is only SYS_FCNTL64 now.