Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla@busybox.net
To: buildroot@uclibc.org
Subject: [Buildroot] [Bug 15991] New: host-heimdal fails to build on Ubuntu x64
Date: Tue, 12 Mar 2024 11:35:55 +0000	[thread overview]
Message-ID: <bug-15991-163@https.bugs.busybox.net/> (raw)

https://bugs.busybox.net/show_bug.cgi?id=15991

            Bug ID: 15991
           Summary: host-heimdal fails to build on Ubuntu x64
           Product: buildroot
           Version: 2024.02
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: blocker
          Priority: P5
         Component: Other
          Assignee: unassigned@buildroot.uclibc.org
          Reporter: info@hifiberry.com
                CC: buildroot@uclibc.org
  Target Milestone: ---

make raspberrypi4_defconfig
select SAMBA package

make

checking for /usr/bin/gcc  options needed to detect all undeclared functions...
cannot detect
configure: error: in
'xxxx_buildroot-2024.02/output/build/host-heimdal-f4faaeaba371fff3f8d1bc14389f5e6d70ca8e17':
configure: error: cannot make /usr/bin/gcc  report undeclared builtins
See 'config.log' for more details

Tested on both Ubuntu 23.10 and 22.04.4 LTS

In the config.log I can see
| int
| main (void)
| {
| (void) strchr;                                                               
                                                                               
                      |   ;                                                    
                                                                               
                                            |   return 0;                      
                                                                               
                                                                  | }          
                                                                               
                                                                               
        configure:20087: /usr/bin/gcc  -c -O2
-Ibuildroot-2024.02/output/host/include  -fno-builtin
-Ibuildroot-2024.02/output/host/include -D_LARGE_FILES= -D_FILE_OFFSET_BITS=
conftest.c >&5
In file included from
/usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/limits.h:26,
                 from /usr/lib/gcc/x86_64-linux-gnu/12/include/limits.h:203,
                 from /usr/lib/gcc/x86_64-linux-gnu/12/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-linux-gnu/12/include/limits.h:34,
                 from conftest.c:44:
/usr/include/features.h:388:52: error: operator '&&' has no right operand
  388 | #if defined _FILE_OFFSET_BITS && _FILE_OFFSET_BITS == 64
      |                                                    ^~
conftest.c:35:16: error: duplicate 'unsigned'
   35 | #define size_t unsigned int
      |                ^~~~~~~~
conftest.c:35:25: error: two or more data types in declaration specifiers
   35 | #define size_t unsigned int
      |                         ^~~
configure:20087: $? = 1
configure: failed program was:

...

| extern void ac_decl (int, char *);
|
| int
| main (void)
| {
| (void) ac_decl (0, (char *) 0);
|   (void) ac_decl;
|
|   ;
|   return 0;
| }
configure:20107: result: cannot detect
configure:20111: error: in
'buildroot-2024.02/output/build/host-heimdal-f4faaeaba371fff3f8d1bc14389f5e6d70ca8e17':
configure:20113: error: cannot make /usr/bin/gcc  report undeclared builtins

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

             reply	other threads:[~2024-03-12 11:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-12 11:35 bugzilla [this message]
2024-03-12 15:40 ` [Buildroot] [Bug 15991] host-heimdal fails to build on Ubuntu x64 bugzilla
2024-03-22 21:56   ` jeremy
2024-03-16  4:24 ` bugzilla
2024-03-18  6:57 ` bugzilla
2024-06-15 15:23 ` bugzilla

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-15991-163@https.bugs.busybox.net/ \
    --to=bugzilla@busybox.net \
    --cc=buildroot@uclibc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox