<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>21380</bug_id>
          
          <creation_ts>2009-09-03 14:04:24 +0400</creation_ts>
          <short_desc>сломана с gcc 4.4</short_desc>
          <delta_ts>2012-11-14 06:22:58 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>dietlibc</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Konstantin Pavlov">thresh</reporter>
          <assigned_to>led</assigned_to>
          <cc>shpigor</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>98100</commentid>
    <comment_count>0</comment_count>
    <who name="Konstantin Pavlov">thresh</who>
    <bug_when>2009-09-03 14:04:24 +0400</bug_when>
    <thetext>не собирается device-mapper с dietlibc:

../libdm/ioctl/libdevmapper.a(libdm-common.o): In function `_default_log_with_errno&apos;:
libdm-common.c:(.text+0x327): undefined reference to `__builtin_stdarg_start&apos;
../libdm/ioctl/libdevmapper.a(libdm-common.o): In function `_default_log&apos;:
libdm-common.c:(.text+0x387): undefined reference to `__builtin_stdarg_start&apos;

проблема аналогична https://bugs.launchpad.net/ubuntu/+source/dietlibc/+bug/381215</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102743</commentid>
    <comment_count>1</comment_count>
    <who name="Ilya Shpigor">shpigor</who>
    <bug_when>2009-11-06 14:01:06 +0300</bug_when>
    <thetext>В версии 0.31 dietlibc проблема должна быть решена. Может стоит просто обновить пакет?

У меня аналогичная проблема - не собирается libowfat:

/usr/bin/diet -Os gcc -g -o t t.o libowfat.a `cat libsocket`
libowfat.a(fmt_strm_internal.o): In function `fmt_strm_internal&apos;:
fmt_strm_internal.c:(.text+0x11): undefined reference to `__builtin_stdarg_start&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102745</commentid>
    <comment_count>2</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2009-11-06 14:09:22 +0300</bug_when>
    <thetext>(In reply to comment #1)
&gt; В версии 0.31 dietlibc проблема должна быть решена.
&gt; Может стоит просто обновить пакет?

Попробуйте.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>134825</commentid>
    <comment_count>3</comment_count>
    <who name="">led</who>
    <bug_when>2012-11-14 06:22:58 +0400</bug_when>
    <thetext>Лучше не собирать lvm2 с dietlibc. Утилиты lvm2 рассчитывают на getopt с GNU-расширениями, которые dietlibc отсутствуют.

P.S. смотрите в сторону musl</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>