Forums before death by AOL, social media and spammers... "We can't have nice things"
|    linux.debian.bugs.dist    |    Ohh some weird Debian bug report thing    |    28,835 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 27,796 of 28,835    |
|    Weiwen Hu to All    |
|    Bug#1083135: gcc-14-aarch64-linux-gnu: c    |
|    16 Feb 26 01:30:01    |
   
   From: huweiwen@linux.alibaba.com   
      
   We are facing the same issue when migrating our dockerfile from debian 12 to   
   13.   
      
   We install the compiler like this:   
   ```   
   FROM build-0 as build-util-linux-amd64   
   ENV HOST=x86_64-linux-gnu   
      
   FROM build-0 as build-util-linux-arm64   
   ENV HOST=aarch64-linux-gnu   
      
   FROM build-util-linux-$TARGETARCH as build-util-linux   
   RUN apt-get update && apt-get install -y gcc-${HOST//_/-}   
   ```   
   And always call the triplet gcc, so that our dockerfile can build on any arch   
   for any arch.   
      
   Can you be specific why we can't use --with-as for native compiler?   
      
   If we really can't, can we at least make gcc-14-x86-64-linux-gnu depends on   
   binutils on amd64 (rather than binutils-x86-64-linux-gnu), so that it will not   
   complain on missing /usr/bin/as?   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca