From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) by sourceware.org (Postfix) with ESMTPS id 1CF8D3858D37 for ; Tue, 21 Mar 2023 14:56:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 1CF8D3858D37 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=csgeeks.org Authentication-Results: sourceware.org; spf=none smtp.mailfrom=csgeeks.org Received: by mail-ed1-x52f.google.com with SMTP id cn12so15145449edb.4 for ; Tue, 21 Mar 2023 07:56:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=csgeeks-org.20210112.gappssmtp.com; s=20210112; t=1679410570; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=cmuHfX8ZLB/XJcmTCAjqCjXklKZnmkntuf/SxK7G43c=; b=iXUfUYL4lzNh91Mz3zsSidMONHxDKuDoAtKkW10Im6TTuQoWM8oObBw824f0wdnq3M iI3iQZIp/T60w2hfO42QThYqLg6N2HCjhdlZKZQ+Xeo8mUq43jIgB7eKotWPXF6dPlAy o/KfSmRp1V3bUmJacrAyfY+nBFpd2cs3AjOm/lTBH8oPAlhufj3UMgIDGFfT1tpY+k69 dMHCU3dW+kfguKnoYXPiPAoH4bYNWMzkYpCJs3wr7jZgDE16n4UHoFrGboVII7o2+jTs t8za5gkct14e0pFV+5HnBWwdxUqTo+4QrdT5X8aeHEgmJivUdj0unUC1FBjxuViFzO8U c6qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679410570; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=cmuHfX8ZLB/XJcmTCAjqCjXklKZnmkntuf/SxK7G43c=; b=sywx2gwj+EBSIfAAfH2mNPn5pR3iYk4IXc8nha8tYU/WGQkg0WY/fiCu4VpzC+PLGY tPas9BCgamkWWkF5AwY5Q840GUlFSa80tkTswL6q86aJ5gs4XHWoqc/H6KVHSr8qHpzf OAJ+I2bpcjdOV3g1VoEIHShept289s4PWH9MgaRYCefyD3bIf7JGuOGwf//NdOEw/uuz g48DFTGeKOYOQCsNuSY0mWEWnUTD3/P8vzCiFg+PsjDnRK+vMI71dslveg+rQw8a/fUz R0A2xJlztJvTpxyd50ulj4Hoe+lr3VfcgpNl6DAo/769x31E+Gnbb922AFvsF/z45qag BWew== X-Gm-Message-State: AO0yUKWa2lcZVw1IKiX7unb2OWiDkXTIYN6CgDfWY5hwJtWRtjXoVEqx e8trLlR6uB+GqfuMXSihMmMnC1714g78nn3/lQKL/rAuiwQ78OhPPtvnUQ== X-Google-Smtp-Source: AK7set+JqRmuM7h9MxB2OH6zyumkAnIp4rqHF85BN9RjRK2/v3jSlIQW0UHP6NWHom6cbJKfFp/hWKG6PCATMNDB9Zs= X-Received: by 2002:a17:906:d057:b0:923:6595:a81b with SMTP id bo23-20020a170906d05700b009236595a81bmr1506377ejb.5.1679410570245; Tue, 21 Mar 2023 07:56:10 -0700 (PDT) MIME-Version: 1.0 From: Matthew Stock Date: Tue, 21 Mar 2023 10:55:59 -0400 Message-ID: Subject: Issue with cross compile and --64 To: binutils@sourceware.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi folks, Looking for some guidance from folks on how to resolve a problem I'm running into. Short version is that I have a custom 32-bit CPU core with a target for binutils, gcc and newlib target (hobby stuff). I haven't updated the toolchain in about 9 months or so, and this time around it failed when building gcc, complaining that my cross-gas didn't recognize --64: make[2]: Entering directory '/home/mstock/projects/gnutools/build/gcc/gcc' g++ -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Wconditionally-supported -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I../../../gcc/gcc -I../../../gcc/gcc/build -I../../../gcc/gcc/../include -I../../../gcc/gcc/../libcpp/include \ -o build/genmodes.o ../../../gcc/gcc/genmodes.cc /home/mstock/cross/bexkat1-elf/bin/as: unrecognized option '--64' Host and build are Linux, target is bexkat1-elf (custom). For this group, my question: is this an issue with my gas port, or should I be looking at gcc? The intersection of issues here are unique enough where google hasn't really helped. Thanks for any suggestions. Matt